Throughout life people will make you mad, disrespect you and treat you bad. Let God deal with the things they do, cause hate in your heart will consume you too.
Just the other day, someone said to me that I looked chubby. Ordinarily, I would bite this person's head off for being nasty or retorted back with something equally rude but that day I kept my cool and just smiled. I realized that this person was just not worth me getting all riled up about.
I learnt from the Wise Old Man some time ago that nasty people are actually unhappy people. They are the walking wounded. They are handicapped due to their defective heart but without the privilege of a disable parking space.
On the authority of Abu Huraira (may Allah be pleased with him), the Messenger of Allah (peace and blessings of Allah be upon him) said, “Whoever believes in Allah and the Last Day should speak good things or keep silent. Whoever believes in Allah and the Last Day should be courteous and generous to his neighbour. Whoever believes in Allah and the Last Day should be courteous and generous to his [travelling] visitor.”
(Recorded in al-Bukhari and Muslim)
So, if you are face with someone who is nasty or rude, don't take their words or conduct to heart. Just walk away. Just remember that no one can hurt a person unless that person allows it. When confronted with such unfortunate soul, just pretend that you are facing a mentally unstable person. You don't normally get angry with a lunatic because you know they have no control over their actions. Similarly, these people are unable to control their words or conduct due to some internal disability.
If they are unhappy with you are, then the problem is theirs not yours. Let it go and pray that God will cure their defective hearts so that they can be a better person.
By walking away does not mean that you are a loser but quite the opposite. It means that you are the better person. If you retaliate in kind then you are no different than your tormentor.
The messenger of Allah said:
“A (true) muslim is he from whose tongue and hand other believers remain safe”
[Al Bukhari & Muslim]