If you need to restore your settings to factory because you are giving your phone away or for whatever reason, here is how:
1. Tap Menu (from the Home Screen)
2. Tap Settings
3. Tap Privacy
4. Tap Factory Data Reset
5. Confirm your selection
You have just cleared your phones memory