I deal with it in two ways. The first is finding someone to talk to about it who will totally tell me that that's society talking and not me or the truth. The second is positive self-talk. If I start thinking I'm less than simply because of my identity, I make sure to tell myself that that's not true. Even if it's hard for me to believe myself the correction of internalized stuff ends up being like a "fake it till you make it" kind of thing in my head. I tell myself I am fine and worthy and good how I am no matter what they say about my identity and eventually I have fewer thoughts that I'm not good.