Running the free version of MalwareBytes and then AdwCleaner usually remove all browser malware-caused redirections and inserted ads.
When you see unwanted adware on the PC, go to Control Panel and then remove any suspicious program from Programs and Features. Then go to your browser extensions/add-ons and disable unfamiliar add-ons.
Avoid installing suspicious programs and extensions in the future, and make sure to untick all "optional offers" checkboxes when you install something.