You can minimize the distraction from social media in the following ways:
Focus on work
Analyse which social media is suitable for the workplace
Make a timetable to use social media