"You Reap What You Sow"Everything bounces back. Whatever you do will come back to you. I believe in it that's why this grounded me so many times. I am somehow wary of the positive and negative effect of my actions. So the best way to deal with it, is to follow the golden rule. "Do unto others what you like others do unto you".
I remember the movie "Les Miserables". I can never forget the scene when the man who was sheltered by the old couple tried to steal some precious possessions in their home. The couple did the other way, they let him had everything rather than do untoward action against him. They said it will help him to restart a new life, a better one. The scene gave me a conscious effort to ponder that, if someone has hurt us, don't just forgive, but give them the benefit of the doubt. Give them a chance to reverse their action if not now, later in life.
I believe that evil doesn't reside in any human heart. People are compelled to do bad things because of life situations. If someone has done unfavorable things to you, there's always Karma. The best revenge is to continue doing good things in life so you won't only prosper materially but your good aura will shine and infect people along the way. By doing this, you will grow as a better person while the person who wronged you will wallow in a mud of pity and envy.
Life is so short so why would you let somebody mess around with you. Walk away from people who doesn't inspire but slow you down. Karma will be a good revenge. You don't have to get even.