Energy is earned over time. As long as your energy is not full or overfilled, every four minutes one more energy will be added to your current amount. You can also explore the castle to find hidden sources of energy!
If you run out of energy, you can also use Gems to get more.
If you run out of energy, you can also use Gems to get more.