shape up or ship out

shape up or ship out - исправляйся или выметайся

see also
[clean up one's act]