To get rid of the McAfee virus, first, close the pop-up carefully. Leave the website and clear your browsing settings. You can also remove any suspicious applications and files on your system. Finally, get a robust antivirus, like TotalAV, to isolate and remove any detected threats.