Killing an enemy

i have the gun shooting and the enemy, how would i make it so when you shoot the enemy he dies, and i need to know how to make it so he shoots back.