A coulomb passing through a 12 V lamp gives up 12 J. If 2 C pass each second, a current of 2 A, the lamp receives 12×2=24 J every second, which is 24 W. That is all P=IV says: voltage is joules per coulomb, current is coulombs per second, and their product is joules per second. Left on for an hour, 3600 s, the 24 W lamp uses 24×3600=86400 J.
The other two forms come from putting Ohm's law into P=IV. With V=IR, power becomes I2R; with I=V/R, it becomes V2/R. They describe the same quantity but suit different situations. I2R fits when the current is fixed, as in a cable carrying a known current: double the current and the heating in the cable rises fourfold. V2/R fits devices on a fixed supply voltage: on the same 120 V outlet a smaller resistance draws more power, which is why a 2000 W heater has a resistance of only 7.2 Ω while a 60 W lamp has 240 Ω.
Power is not energy. Power is how fast energy is transferred; energy is how much is transferred in total. A 2000 W hair dryer used for 6 minutes uses 2 kW×0.1 h=0.2 kWh, while a 10 W LED lamp left on for 24 hours uses 0.01 kW×24 h=0.24 kWh, slightly more. The device with the bigger rating is not always the one that costs more; running time matters as much as wattage.
Think of it like this. Power is the speed of the tap, and energy is the water in the bucket. A wide-open tap fills the bucket quickly; a dripping tap can still fill it if you leave it long enough. The electricity bill pays for the water in the bucket, not for how far the tap was open.
Core idea. Electrical power is voltage times current: the joules each coulomb delivers times the coulombs arriving each second. Multiply by time to get energy, and switch to I2R or V2/R when resistance is what you know.