Go to Settings > Privacy > Factory data reset. Do this and your phone's settings will reset to the factory default values.