For some reason I've decided to go through every single spell in the Player's Handbook. Here's the first:
Bard - Cantrip - Blade Ward
Casting Time: 1 action
Components: V, S
Duration: 1 round
You extend your hand and trace a sigil of warding in the air. Until the end o f your next turn, you have resistance against bludgeoning, piercing, and slashing damage dealt by weapon attacks.
Personally, I think you're probably better off using your action to do some damage.