Making character push back another character a certain distance

i’m trying to make characters push bach each other a certain distance when they collide
what should I do?
and what event is triggered when they collide (they’re from the same class