How to stop Trojan pop ups

How to post screenshots.

It is likely a malformed ad on a website you are viewing. These try to scare you into getting an antivirus product or a probably fake virus removal service. Do not click on anything in these popups.