how to block websites on your pc without any software

There are many reasons why someone wants to block certain websites. Some of the websites are not safe for browsing and may infect your computers...