voltage regulator
The most efficient way would be to use a Buck Converter which is a type of Switching Regulator. This type of regulator is far more efficient than a linear regulator, as it converts the power rather than intentionally dissipating the extra as heat. Wasted power in your example if your circuit is drawing 100mA would be roughly: (9V-5V) * 0.1A = 0.4W