AVG runs in the background whenever your computer or mobile device is on. When the program detects a threat, it alerts you and sets the possibly infected files to the side so you don't open them on accident. You can then remove the files without risking infecting the rest of your computer or mobile device.