Idiom
Shape up or ship out.
informal something that you say in order to tell someone that if their behaviour does not improve, they will have to leave.This is the third serious mistake you've made this month. It's not good enough - you're going to have to shape up or ship out.