I don't get away. It is their own choice to judge others. If they do not like how I am, than they may be the one that needs to get away. It took me many years to learn not to care what others think of me. They are not the one who has to live with me, I do. This is me, I can not be something else because someone does not like who or how I am.
My past is my past, that is not for them to decide what type of person I am or how I am going to be. People can change, it takes time, but it is possible.
For dealing with them, just Smile. You are the one going home with yourself, not them. And if it needs to be confronted about how they are being judgemental, say something. Be polite about it. Do not let them drag you down. Keep your head up and keep doing what you do. If you know you are not doing anything wrong, than you have nothing to worry about.
The way I see it is, if people are being that judgemental, they were really never meant to be your friend. This is a harsh way to say it, but no ever said the truth won't hurt.