When the bar gets to the blue part, click. If you click when the bar is in the green part or the yellow part, you get to try again. However, if the bar ever gets to the red part, you will lose.
All by me It's like the easiest game ever