Error message, safari won't open?

error message, safari won't open

I have an iphone 6. While browsing on Safari I got an error message about possible virus or malware, then my Safari would no longer work. No internet access now. What can I do to fix this?
Re: error message, safari won't open

Welcome to iMore. It's probably a scam from a site you visited. Most likely phishing for your info. Just go to Settings > Safari > scroll down to "Clear History and Website data". Tap on that. Then go check Safari.

Original thread: https://forums.imore.com/threads/error-message-safari-wont-open.363560/