I need help with this java program guys... here is the code and what i am trying to do...

I want my enemy's health to deplete by 5 until it reaches 0. The health starts at 40, but every time i press one for the attack it just keeps repeating "Your enemy's health is 35 now or your enemy's health is zero "he has been killed".... any help would be much appreciated!