Do not make the ball touch the floor. Use the stick to hit the ball.
You should click the green flag a few times to reset the game.