I think it's really about two things. 1) Have/build high enough self-esteem 2) Don't (over)value strangers that much = Value yourself and your own positive opinions of yourself just that much more than these strangers. That should help ignore their bull****.