get (one's) (own) house in order
To resolve or put into order or resolve one's own personal problems or business affairs. The president and his administration sorely need to get their house in order, or they may not see a second term in office. Jim should go about getting his own house in order before he starts criticizing how I live my life!