Move with the arrow keys and press Z to activate the fight button when it appears.
This game is inspirated of Undertale if you didn't notice it before. The style of the monster is inspirated of Gaster and Sans.