perder a cabeça

Etymology
lit. 'To lose the head'.

Verb

 * 1)  to lose one's head to stop behaving rationally