If you are wearing Gear with the Armor and Metal keyword, you may spend 1 Focus to activate it whenever you are about to lose Endurance.
Generally speaking, the Endurance you are about to lose is the result of a roll. You may activate the Gear after the result of that roll is known, but before losing the Endurance.
The Gear specifies it will only reduce Endurance loss from specific sources, that still counts.