Distractions are part of life. It seems worse when you are working from home.
Next time you are working your business online, take a look at the browser tabs you have open. How many have nothing to do with what you are working on?
If you use social media, are you wasting time on activities that are not productive?
I would suggest that it is better to stay focused on essential tasks. Then, if you have time, open those other tabs or view your friend's vacation album on Facebook.
Bottom line, do what you need to do first, then there will be time for recreational activities.