get one's head straight

Verb

 * 1)  To clear one's mind; to think clearly.