How to make a character bounce off a wall?

Thanks for that.