Open the Settings app
Tap General
Tap Software Update
Wait for your iPhone to check for updates
Tap Download and Install if an update is available
Enter your passcode if prompted
Agree to the terms and conditions if prompted
Keep your iPhone connected to Wi-Fi and power
Wait for the download and installation to finish
Let your iPhone restart if required
Check Software Update again to confirm the latest version is installed
