Its more on smartphones if anything, other times its through email, like there will be a random email (likely in your spam folder) where it will state that your device, phone or computer, is infected with malware, they will hence lead you onto the solution, which you can download from them, but its probably malware of some kind, and not a solution at all.
01001001 00100000 01000001 01001101 00100000 01011010 01001111 01000100 01001001 01000001 01000011