In this case, "dish it out" would mean to do that particular thing.
As for saying it another way, a personal favorite is The Golden Rule: "Do unto others as you would have them do unto you".
Or, in more modern English, "Don't do anything to anyone that you wouldn't want them to do to you."