Make sure the ball does not touch the red line. If it does just press the green flag to start a again.
Thanks to @alt_that_guy for the game over Sprite.