I shake it off and carry on. I figure it's their problem/something going on in their life and try to not take it personally. Usually when someone is mean or nasty to someone else it has nothing to do with the recipient.
I'm sorry it upsets you and makes you feel worthless