Idiom
head off somethinghead off (something)
to avoid something bad by doing something now.The UN Security Council is hoping to head off further violence.
Etymology: based on the literal meaning of head someone or something off (= to stop the movement of people or animals by getting in front of them)