Question: how to fix my iphone if it has a virus?
Answer: What do you do if your iPhone has a virus? Simply head to Settings and activate Safari, Chrome, Firefox, or whatever browser you use. Tap on Clear History and Website Data and press Clear History and Data. You can restore your mobile device from the most recent backup or restore your phone as a new device.