Use your timer.
Seriously. Before you click the social media app, set your timer for however long you should be spending on said app. When the timer sounds, close the app. Not brain science, but it does require some self-control.
Learn more about creating a time budget to get a handle on your social media life - by clicking and reading HERE.