Hi Carrie
'to pull oneself together' means to recover control of ones emotions after being upset/angry/stressed etc.
For example:
'I know it was difficult losing your job but you need to pull yourself together and start looking for a new one'
All the best
Jonny