After completing the first scene you will be given energy to use in puzzles. Each time you fail to complete a level 1 unit of energy will be removed. Energy will automatically regenerate over time as shown by the timer at the top of the screen. You can also get more energy by paying gems, by watching adverts or by purchasing certain offers containing energy.