Get your act together.
To make the necessary adjustments to improve oneself or to do something more effectively.
Example: Your brother has to get his act together if he wants to keep his job.