Notification came saying it’s hacked
I don’t usually believe these things but I clicked on a dodgy link by accident and a pop
up came up saying iPhone hacked! Just like a notification would come up on Apple, and then came up with a new notification telling me to press a button to protect my connection and install an app . I installed the app and then immediately switched off my phone and removed the SIM card
what should I do now? Should I switch on my phone again and was it really hacked?