A: How to Erase and Factory Reset an iPhone 4S / 4 / 3GS / 3G - How to Use My iPhone Tutorial 3
How Do I Perform A Master Reset On My Apple iPhone 4S?
iPhone reset to factory original settings
Hard Reset will erase all of your data
All described operations you are doing at your own risk.