You don't.
You develop a thick enough skin to ignore them...
...or you accept them as truth, live in accordance with them, and do the best you can to be happy anyway.
It is NEVER OK to expect, to want, or to attempt to induce others to change their behavior. They can treat you any way they want. The only control you have is to try to conduct yourself in such a way as to make them want to treat you well. Failing that (and, for us, that will generally fail), you can try to conduct yourself in such a way as to escape notice.
Speak little (generally only when you need information or are spoken to), give known appropriate stock responses, do not divulge personal information unless absolutely necessary, NEVER discuss your opinions.
_________________
"Alas, our dried voices when we whisper together are quiet and meaningless, as wind in dry grass, or rats' feet over broken glass in our dry cellar." --TS Eliot, "The Hollow Men"