Arrow keys to move. Dodge Herobrine's attacks. Press z to attack when fight appears.
You are frisk. After befriending undyne you run into the beast HEROBRINE, and are forced to attack.