взять себя в руки

Etymology
lit. 'to take oneself into one's hands'.

Verb

 * 1)  to pull oneself together, to get oneself together, to get it together, to get a grip, to get one's act together, to get ahold of oneself