If you have firefox, you can easily block certain sites with the plug-in FoxFilter.
There are also other methods available if you are using Internet Explorer, but depending on the version, Firefox may be more suited if it's a child's computer.
You can also go through the router also.