will take you through the whole process step by step.
malwarebytes, adwarecleaner are safe to use - and free. You can also run ccleaner as well (another freebie) after you've gone through routine in the above link.
Pests such as safe browser etc. frequently get installed when you opt to use the automatic install option for software downloaded from web. "Always..." use the manual/custom option, and carefully watch for, and uncheck all pre checked boxes, apart from the actual item you wish to install. Then you won't all manner of pests running in the background, and creating mayhem...
message edited by trvlr