The Y2mate virus can infect your device with harmful software that displays persistent pop-ups and redirects you to shady websites.
Uninstall any suspicious programs from your device and remove Y2mate from your browser to remove the virus.
Clear your browser's cache and cookies to prevent the virus from reappearing.
Use a trusted antivirus or anti-malware tool like Malwarebytes, Avast or Bitdefender to detect and remove any remaining traces of the virus.
Block future pop-ups and avoid similar threats by using browser's built-in options to block pop-ups and installing an ad-blocker that can prevent unwanted ads, trackers and malicious scripts.
Regular maintenance, such as keeping your software up to date and practicing caution while browsing, will help protect your device from future infections.