How do I kill the enemies on the Action Platformer template game?

Above.

I’ve created and uploaded the game, and I can collect the collectables but how I do keep the enemies from killing me?

Any chance of some help with this?