This has been happening a lot recently. You click on a google link and a security warning pops up, telling you your system is infected and you need to follow the screens to remove the infection. The warning comes up with bells and whistles, flashing red, or showing you a gif perporting to be your system files being accessed.
If you know what you're doing, you do not fall for this. You close the screen, using the x on the top corner, close your browser, and for added security, run known and reliable antivirus and antimalware programs, just to be on the safe side.
What happens if you ok the malware into your system? Fred Langa (Windows Secrets) tried. I will just quote his bottom line:
Using security tools is no substitute for common sense. Malware like this is actually very easy to avoid, if you pay attention to what’s going up on your screen.