If you want to block social media apps from yourself, there are dozens of apps and tools you can use, including Freedom, ...
You can block websites on Google Chrome using an extension called BlockSite or in Settings.