Movement Bug

My game was doing fine, until this happened:
I looked right, and then pressed ‘W’, but it went left. I know what is going on, but I don’t know how to fix it.
Basically, here’s what happened:
I look behind me, press ‘W’, but I don’t go forward. I went backwards. Because it’s going the global forward, not the local forward. Yes, I’m new.

Either when making a project, or right-clicking in the project assets, you can import packages. Import the Characters package, and tada! FPSController Prefab!!