Unity 2D Player Help

I’m using Unity version 2019.3.10 and I’m trying to create my first 2D game to get things started. But, I can’t figure out how to make it to where the player can control the sprite I have. The sprite is a ghost and it has animations added to it. I also have a platform that I made with a cube, but I don’t know how to make it to where the player can walk around with the ghost. Sorry if this question was confusing.