Meaning of “lose your head” - Learner’s Dictionary

lose your head

to stop being calm in a difficult situation

(Definition of “lose your head” from the Cambridge Learner’s Dictionary © Cambridge University Press)