Realize that others' actions are not about you. Others' actions are a reflection of their own issues.
Ask yourself what else the comment or action may mean.
Take comments and criticism in a constructive way. Ask yourself if there is any truth to it and if so, what can you learn from it.
Take a different perspective. Ask yourself how an unbiased outsider would see the situation.
Realize you cannot please everyone.
Know you are not defined by your mistakes or criticism.
Realize your self-worth depends on you. Not what others say about you.
Comments