Hold down volume up and down keys, and power button at the same time. Wait about 5 seconds, a recovery screen should pop up. Use the volume down key to select factory reset-this will erase all data on the phone. Press the home key to select, your phone should start the factory reset, then automatically restart when done. It takes a few minutes for the phone to restart. Then you can go through the setup like when the phone was new.