I use a custom
hosts file to prevent access to sites. This method doesn't work if a link is IP based.
If you use Firefox, you can use
Blocksite which is an add-on that can handle black or white lists.
Enable 'safe' search results under Google (I expect there's similar options on other search engines?) which is a per user setting.
Enable/Install anti-phishing facilities in your browser.