Find the word definition

Wiktionary
sort oneself out

vb. 1 To organize or solve one's personal problems. 2 To calm down emotionally.