Go to Settings > General > Software Update. Tap Automatic Updates, then turn on Download iOS Updates. Turn on Install iOS Updates. Your device will automatically update to the latest version of iOS or iPadOS.