Ultimately, we are creatures of feeling, every single action is associated with feelings, I believe the goal of living is to seek the most wonderful feeling, sometimes quoted as "Happiness".
We however have limited control over our feelings, most of the time, people's feeling are manipulated by the external factors. For example, you feel bad when you're being scold by your boss, you feel great when you won in a competition.
But this behavior is not desired because we do not want to be controlled (in a sense this is pretty much the case).
I believe everyone have their own remedy, here I am going to share mine.
1. Focus on self-improvement, this is something that you have control of, realizing you are getting better in something bring you self-confidence and self-fulfillment and at the same time easily achievable.
2. Acknowledge the excellence in others, and try to learn from them. A lots of time, we get frustration when someone else outperform us, be it peers or juniors, this is very common and it is not something we can have full control of, so instead of letting your ego to get into your way, acknowledge them and treat them as your mentor, learn from them will makes you feel better in two ways, first you improve yourself from other's experience, secondly you feel better when you know you are humble enough to learn from literally anyone. *This is another kind of ego, but a less harmful one*
3. Help the others. By helping others, you instantly get a positive feedback of your action, you will have a sense of accomplishment because you realize you are powerful enough to send out positive effect to the environment, you are a part of other's success, this brings you happiness.
So I hope everyone have found their way to control your own feeling so that you stay in happiness more ~