Does my iPhone 6s have a virus because the I ternera is frustratingly slow?

The screen gets stuck on loading a page and it doesn't respond when I touch on the screen. Only some touches work others don't. I tried installing an antivirus but iits still slow and I update all of my installed apps when prompted. I've never had this issue. It started to be slow but it reached the ultimate level of slow when I was on a webpage and clicked on a picture that sent me to multiple links until an alert popped saying that my iPhone is infected with a virus and warned about proceeding with the page so I would click out of it. Is it possible that my phone got a virus in that way and if so what steps can I take to remove this virus?

IOS devices don't have viruses (unless you're not the average user and you really go all out with jailbreaking, but you'll probably never encounter that.) If your iPhone is really that slow, first off, remove your antivirus and start removing apps, photos, and music off your device, then I recommend installing a cache clearing app to clear your iPhone caches, and then you can uninstall it.