While there are no viruses, you may have downloaded malware or adware.
Download and run MalwareBytes. Malwarebytes was developed by one of our own colleagues here in ASC. It gets rave reviews and is about the most proven anti-malware software for Mac. It is free.