WARNING : IF you have Avast antivirus software installed on your computer than your computer has a problem because you installed Avast and Avast is the problem. And NOT because Avast pops up warning of virus on random websites you frequent.
Get rid of Avast. It's a scam and does nothing.
Find details on Avast scam on the following site and others on net. Use google.