Do you experience pop up ads in Safari on your mac?
There are 2 things you can do.
First check for ” unknown ” extensions in Safari by going to Safari – Preferences – Extensions and remove any ones that you do not know.
Next you can run AdwareMedic which can remove malware that maybe installed in Safari , instructions for AdwareMedic is on the site.