I have a bug with my player's movement and I don't know how to fix it

When the character look down, not matter if I will press the button that makes the player move forward, backward, left or right, it always moves backward. Does anyone know ho to fix it?