One way is to notice the pattern your mind follows, "positive send and negative receive". We tend to send out the compliment and allow ourselves to receive the criticism. If you can train your mind to stop after complimenting someone, you will notice a dramatic change in the way you feel about yourself. Yes, you're admiring someone else's beauty or talent but when you eliminate the negative attack towards yourself you will notice a change. You begin to see less of a fault in what you thought was such a problem.
Another way is to notice their success and let it motivate you. Think of them as your very own guide to success. If you want what they have, start to see their actions as inspiration. Learn from others but don't feel the need to compare your life to anyone else's. It is really hard to criticize and compare yourself to others when you are too busy bettering yourself.
My final suggestion would be to focus on yourself. You are the only one who can edit and delete major details in your life as you live it. When you are comparing yourself to others, you are allowing them to unintentional control your life. Stay true to who you are and aspire to be who you wish to be.
I understand that social media makes it extremely hard to stay away from comparisons but if we allow ourselves to let go of the pressure, we will begin to feel powerful. The confidence is always inside you, it just needs to be activated! Thank you for taking the time to read my blog and I hope this was a reminder for you to always stay true to yourself while being kind to others!