Scam virus detected pop up
Hi, I was using Instagram and visited a website which I didn’t knew could be a scam. The moment I opened the link, there was a pop saying that there were 13 viruses detected in my iphone12 that could do serious damage to my phone and sim. I didn’t know what to do and pressed “ok”. Later i looked it up and saw these pop ups were a scam and could take my personal information and use my data. I did clear all the background apps, cleared my web cache and history and rebooted my phone. I haven't had any problems or such pop ups yet and everything seems normal. Should I be concerned that I pressed ok and this could be bad or should I take any action to avoid my data being stolen or problems as such?
iPhone 12, iOS 15