My spellcasting characters always cast immunity to damage, harm, misfortune, or untoward circumstances before every encounter. It lasts 24 hours, prevents anything bad* from happening to the caster, and doesn't use up a spell slot, prepared spell, material components, or an action.
*unless...