This is the first thing that pops up in google for 'Block Adware'
https://malwaretips.com/blogs/remove-adware-popup-ads/
STEP 1 :
Uninstall the program responsible for the pop-up ads. ...
STEP 2: Remove adware from your computer with
AdwCleaner. ...
STEP 3: Remove any browser hijacker with
Junkware Removal Tool. ...
STEP 4: Remove potentially unwanted programs and malware with
Malwarebytes Anti-Malware. ...
STEP 5: Double-check for malware with
HitmanPro.
A few options to choose from; or all five... that can remove adware.