Do yourself what you advise others to do.
practice what you preach
Behave as you would have others behave, as in You keep telling us to clean up, but I wish you'd practice what you preach. This idiom expresses an ancient idea but appeared in this precise form only in 1678. Also see do as I say.