Turn your phone off. You may need to remove and insert the battery.
Hold the home button and volume up key.Turn your phone on.
Using the volume down key, highlight wipe data/factory reset and press the power key to select.
Use the volume down key to highlight Yes -- delete all user data.