When a creature you can see hits you, or a target within 5 feet with a melee attack, you can use a reaction to add your Proficiency Bonus to the target’s Armor Class against that attack. You must be wielding a shield or a melee weapon.