You can use iTunes to update or restore iPhone software. You should always update iPhone to use the latest software. You can also restore the software, which puts iPhone back to its factory condition.
To update or restore iPhone:
Make sure you have an Internet connection and have installed iTunes 8.0 or later from www.apple.com/itunes.
When iTunes opens, select your iPhone under Devices in the Source List on the left.
In the iPhone Summary pane, click Check for Update.
Click Download and Install. Do not disconnect your iPhone until the update has finished.
New in this version:
Resolves sporadic issue that may cause iPhone to not wake from sleep
Resolves intermittent issue that may interrupt cellular network services until restart
Fixes bug that could cause occasional crash during video streaming
Requirements:
iTunes 8.0 or later.