How to fix AI moving with my Input instead of self navigation

I created an Enemy AI Script for a 3D game but the AI is moving using my Keyboard input instead of self navigation and yes i applied the navmesh and Has all the waypoints…

Your Enemy is obviously controled by yout Input Script.
Have you check your Enemy gameObject, and check that your Input script is not looking for a rigidbody in the scene ? (maybe it’s using a FindObjectOfType method ? )