get it together

Intermediário (B1) informal

To stop being disorganised or confused and start doing things properly.

"After months of struggling, she finally got it together and focused on her studies."