I think you can make a person who is mean to you regret it by avoiding his or her company. You can associate with other friendlier people to ensure that you keep your thought s of the mean individual completely.
Be so nice the other person won't be able to stand it. Give them compliments. At some point the other person's friends will question why they are so mean to you when you have been nothing but nice to them.