Get it all together

To be in full control of oneself.

My friend got it all together and applied for the job at the supermarket.