First, make sure you reset the browser that you're using.You can Google the instructions for doing that on your computer. After that download, install and run the free Malwarebytes for Mac tool at the link below:
Hope this helps.
How do I remove chumsearch from my mac? It has taken over my browser.