What version of iOS is the phone running now?
If it is running iOS 26, you can't downgrade. If it has automatic updates turned ON, it probably is running iOS 26 – or will soon update itself to iOS 26, after which you won't be able to downgrade.
If it has automatic upgrades turned off, and is on iOS 18, you might be offered both
- An update to iOS 26
- An update to the latest release of iOS 18
You might be shown the iOS 26 offer first, then have to go out of the Software Update screen and back in (or, e.g., scroll to the bottom of the screen) to see the iOS 18 offer.
If it is on something earlier than iOS 18, my guess is that Apple is no longer offering iOS 18 – the only major update offered will be iOS 26.