Thanks for playing :)
I move the player by getting horizontal and vertical inputs using Input.GetAxis under the Update method. Then under the FixedUpdate method, i call another method called "Move" with the parameters "horizontal" and "vertical". I store these parameters in a Vector2 variable and then use this variable in transform.Translate().