Regain one's composure or self-control, as in After that frightening episode, it took her a while to pull herself together. [Second half of 1800s]
The American Heritage® Idioms Dictionary Copyright © 2002, 2001, 1995 by Houghton Mifflin Harcourt Publishing Company. Published by Houghton Mifflin Harcourt Publishing Company.
How to use pull oneself together in a sentence
One ought to pull oneself together and shake off such nonsense.The Sea-Gull | Anton Checkov