How to restart my iPhone without deleting everything?

I have an I phone 5c. I was on the internet and I accidentally clicked on this web site that said "webcam now installed into your device" or something close to that and I don't think that can really happen but just in case I closed the tab and held down the power button on my phone to restart it. Then about 6 hrs later I got a text with 3 random picture of like cartons or something. And just a minute ago my phone went black and Siri and vibrate was still working, and when I plugged my phone in it vibrated like usual. But the screen wasn't working at all. I kept holding down the buttons and eventually it turned back on. These could be huge coincidences, but I want to be sure there isn't a virus or anything wrong with my phone. How can I check for a virus or reset my phone, other than plugging it in and deleting everything?

You could download 360 Security from the app store and scan it from that app, it has an anti virus system. That or you could back every thing up and reset your phone.

Try asking apple

IPhones that have not been jailbroken are generally resistant to viruses. If they are jailbroken, all bets are off. There are no legitimate antivirus products for the iPhone, because it doesn't get infected, and the same security features that prevent infection also prevent antivirus products from working (since antivirus software is itself very similar to a virus).

  • Will deleting my iTunes library erase it from everything? I recently got an apple computer and have been switching everything over from my pc. Once done, I'm giving my old pc to someone else so I want to make sure none of my old stuff is on it. I have already imported my iTunes library to my apple computer so I want to get rid of it on the other one. If I delete all the music in the library on the windows, will it also delete from the mac and my other devices it's on? Like my iPod and phone?
  • Will deleting my iPhone backup delete everything on my phone? Every time I sync my iPhone, I get the message "iTunes could not backup the iPhone because the backup was corrupt or not compatible with the iPhone." If I delete the backup, will it delete everything?
  • Unlock iphone without deleting everything? So I lost my iphone like a year ago, I found it finally. But I can't remember the passcode. Is there anyway to get past it without deleting and resetting the phone?
  • My iphone 3gs gets off and doesn't restart without plug in charger? I've jailbroken iphone 3gs 5.1.1.It gets off and don't start, not even show battery low symbole, starts only after connecting charger. It happens even when battery is full or not low!