Use your mouse to move the stick and get the puck in one of the nets.
Some ideas are from the Scratch ping pong tutorial which you should definitely watch if you're a starter like me.