Sometimes people do things that you have no control over, the problem is that, those actions impact you.
The only thing you can do; not let it take control of your emotions.
Life is a compilation of moments, crammed full of events, based on actions, that stimulate emotions that create our memories. Cherish that process, don't let other ambush your emotions and ruin an opportunity to appreciate your life.