Here's a neat trick in blocking certain websites on you PC without investing in expensive software.
Step 1. Click the "Start" button select "Run". Now type the following text in the "Run" box.
notepad C:\Windows\system32\drivers\etc\hosts
Step 2. It will open a notepad file labeled hosts with a bunch of jebber jabber. Just go to the last line of the file, hit the enter key and type the following samples.
127.0.0.1 facebook.com
127.0.0.1 yahoo.com
Save the file and that's it. The above sampled websites will no longer open on your computer.
How it works: basically your computer reroutes outgoing packets of data back to your computer instead of going to the website's domain name server.