Do you find that you're spending too much time on social media, when you should be using your PC to work or study? If so, there are many programs that you can install on your PC which allow you to create self-imposed periods of time during which access to those time-wasting sites will be blocked.
One program that I've been trying recently is called Cold Turkey. You'll find it at https://getcoldturkey.com/ and it's an 8 MB download. Web of Trust claims that it's reputable, and it's malware-free according to VirusTotal.
Once installed, you first need to create a site (or list of sites) to block. There's a built-in list of 24 such sites, which you can use or edit as you wish. You then set a timer to specify how long your access will be blocked for, and that's it. No access to those sites until the timer's up. Trying to get around the block is pretty difficult, and attempting to uninstall the program won't work while a block is in place.
Cold Turkey is a commercial product and costs $25 Canadian, or about $15 US. Paying the fee allows you to set schedules so that blocks can automatically be enabled during certain times of the day. But if you're willing to turn on the block each morning in order to block your access until the timer runs out, the free version works just fine.
Try it, and see what you think. But make sure you don't inadvertently block your access to any sites that you need to use, as there's no easy way around the restriction!