To regain control of your emotions after being upset.
After the argument, she needed to collect herself before speaking.
To focus your mind before doing something important.
He took a deep breath to collect himself before the big presentation.