phrasal-verb
pull oneself together
Meaning
to regain control of one's emotions; to recover composure
Example
After crying for hours, she finally managed to **pull herself together** and face the situation calmly.