/ɡɪt wʌnz ˈhɛd stɹeɪt/
to think clearly or regain focus
“He took a deep breath to get his head straight.”