Press Space to defend yourself against enemies. But not just the enimies lower you health, pressing space also lowers your health.
I got a bit inspired by this: https://www.youtube.com/watch?v=7L1B5YaxxoA