Share your PlayerMovement.cs script and we can have a look.
PlayerMovement.cs
See here if you need help formatting the code