Pop up, your iPhone has been hacked
I accidentally typed a wrong website address to safari and got a pop up that said "your iPhone has been hacked" and also something else under it that I forgot. It said "ok" or "done" below all the text, but I didn't press it and I quickly just closed the private browsing tab. Should I be worried about my phone and if yes what should I do next.
iPhone 11