When you update to the latest version of iOS, your data and settings remain unchanged.
Before you update, set up iPhone to Connect iPhone and your computer with a cable.
Do one of the following:
On a Mac (macOS 10.15 or later): In the Finder sidebar, select your iPhone, then click General at the top of the window.
On a Mac (macOS 10.14 or earlier) or a Windows device: Open the iTunes app, click the button resembling an iPhone near the top left of the iTunes window, then click Summary.
Note: Use the latest version of iTunes. See the Apple Support article If you can’t update or restore your iPhone, iPad, or iPod touch.