I cut off my social networks (Facebook ...) because of this. Am I a coward? I'm still trying to improve my situation, but I too have insomnia because of stress and anxiety, I can't focus because of them.
Cutting off social media led to much improvement in my situation. It's a time sink - unless you're using it for marketing purposes. The time I use to peruse Facebook, IG, Twitter, is used for more useful things.
Now I spend my time learning new things instead of scrolling for hours through a repetitive feed of clickbait and people just looking for attention