Shape up or ship out

To either improve one’s performance or leave.

The new employee was told to shape up or ship out when his performance was not equal to the other members of the staff.