Physics on impact

Hello all,
What is the best way to simulate physics when my weapon hits another character for example i have a character that has a hammer and i want it so when he hits another character it pushes them back

cheers