Honestly, I don't. I go through phases. I have a tampermonkey script that blank-screens sites and that's been very effective. Reddit is a tough one because there's a ton of useful information on there, but once you're on it it's easy to start scrolling. You could be extreme and get a device just for work, perhaps with google voice and wifi only to save on a membership fee
Here's my script: https://gist.github.com/matthewaveryusa/8257de0083abdecc612c...