How to Apply damage on The enemy

So i’ve been doing some AI, by watching tutorials from Ryan Laley, and right now i know how the enemy applys damage to the player, but i don’t know how the player applys damage to the enemy, could someone give me a little hand?