The all-new iOS 16 drops on September 12. You can update your iPhone manually or automatically from the Software Update section of the Settings app.
If your iPhone won't update to iOS 13, it might be because your device isn't compatible, or you don't have enough storage space.