get one’s head together

Definition

Slang

  • verb to collect one’s thoughts, achieve a state of equanimity. A cliché of the ‘alternative society’ of the early 1970s (members of rock groups, suffering from the excesses of social and professional life, typically spoke of going to the countryside to get their heads together). This phrase is still heard, albeit more rarely, usually in the sense of pull oneself together or get one’s act together.
http://www.dictionarycentral.com/definition/get-one-s-head-together.html