Never let other people's actions or words upset you. Because that means that they've just - intentionally or not - manipulated and controlled your emotions.
You should always look to dictate rather than react to others. Be a master of how you think and react, and never let another person's bad actions change that.