How to totally clean my iphone?

So I'm switching from iphone to something new. I want to sell my 4s to a friend, but I want to totally clear it, pretty much make it just like how I got it out of the box. How would I go about doing that? Any additional insight is appreciated, thanks.

In the settings, there's an option to wipe out everything

  • My iphone went black but not totally black and i don't know what to do? So i was on my phone and i opened up the snapchat app and it just froze and went black but not totally black like how it is when it is off you can still see a little light. I really have to have it for tomorrow and i don't know what to do, i tried pressing the home and top button at the same time but its not doing anything.
  • My iphone screen went totally black? My iphone 4S screen went black randomly, it wouldn't turn on or anything, i tried to reset it and it didn't work. I tried to save my photos on a computer but i couldn't since nothing was turning up. do i need to just fix the screen? And if i do will the data in my phone be deleted?
  • My iphone is totally locked? So i got my friends iphone 4s which has the ios7 that he got locked out of and i have tried so many ways of hacking it and now it says that it is disabled and to connect to itunes. I connected it to my itunes and nothing happened.
  • Is anyone else not totally satisfied with the Lifeproof case? I'm sorry but I think the life proof case is like taking $80 and throwing it in the toilet. I couldn't charge my phone, I couldn't use normal headphones and I felt like I was striking my iPhone every time I touched the screen. And yes I had it on properly and performed all the tests before hand. Does anyone else feel like they wasted their money?