First person character movement

I have a problem: i add in inputs move forwards with 2 keys(W,S)and I set up all but hen I play if i press W or S the character always move forward, the same with right/left… why? I followed this tutorial

nothing i fixed it