How — To Stop Malware Popups

Safari > Settings > Websites > Notifications → remove unknowns.