If I have a 2D retro volleyball game, how can I make the ball bounce off my character's head?

i need help , because its my first game