fly right
To be honest, dependable, etc.
If he would just fly right he would not get into situations like that in the first place.
straighten up and fly right
Get your shit together--and keep it together.
If you don't straighten up and fly right, I'll have to call the police, and they'll do it for you!