get one's head together

Verb

 * 1)  To sort out one's thoughts.