How do I stop? social media

I want to stop looking up certain people on social media and comparing myself. I have a rotation of a few people I look up a few times a week and I need to stop. it’s a problem. I don’t wanna delete my social media because there’s some influencers I really love getting inspo and recipes from, and also I love the funny videos. I just need advice on how I can stop myself from looking up people. it’s getting out of hand.