Re: When I click a link for a site on google, it opens up a different website than the one I clicked on.
Sounds like you picked up a dose of search engine re-direct Malware that's been going around.
Install, update, and run these programs in this order. They are all free for personal use, but some have limited functionality in the "free mode" - but those are features you really don't need to find and remove the problem that you have. (Not all programs detect the same Malware.)