Pull yourself together
Meaning: brace oneself, summon your strength, to become calm and behave normally again after being angry or upset
Example: Stop crying and complaining! You have to pull yourself together now.
Example: Stop crying and complaining! You have to pull yourself together now.