How to manually block a website

Hi,

at times a website tries to take over, or puts up a duplicate browser behind one i am using. how do i block the websites i do not want on my computer?

cheers