You don't need to do that. Turn your phone off, hold the home button, and plug it in to a computer with itunes on it (while holding the home button). Within a few seconds, you'll see a "connect to itunes" screen on your iphone, and on your computer you'll get a pop up in itunes prompting you to restore. (You can then let go of the home button) Do that, and you'll be 100% fine.