Protection From Energy

Protection from energy grants temporary immunity to the type of energy you specify when you cast it (acid, cold, electricity, fire, or sonic). When the spell absorbs 12 points per caster level of energy damage (to a maximum of 120 points at 10th level), it is discharged.

Note :  Protection from energy overlaps (and does not stack with) Resist Energy. If a character is warded by protection from energy and resist energy, the protection spell absorbs damage until its power is exhausted.