Step 1: halt going to weird websites and clicking on stuff
Step 2: download Ccleaner
Step 3: Install it
Step 4: In the options to the left uncheck "Autocomplete From history" "start menu shortcuts" "Desktop shortcuts". Under the advanced settings only check "old prefetch data" and "User Assist History"
Step 4 1/2: Press the button that says Run Cleaner. That will rid your comp of useless shit.
Step 5: open up Windows task manager and look at the processes, look for names that are stupid and see if they have a discription, if it looks kinda funky then look it up on google. like if you see something like CtHelper.exe, go to google and type exactly that. the first or second link will tell you what it is and if its a problem it will tell you how to get rid of it.
Step 6: especially do step 5 when one of those pop ups comes up.
If this doesnt help you then...............bye