How can I add animations to my character for attacks coming from 4 different directions?

Hello, I want to add hit animations to my character from 4 different directions: front, back, right and left, how can I do this?
Also, how can I activate the attack animation again after the character takes damage? Thanks in advance for your answers