- Edited
twomee you can downgrade to a previous iOS version with instructions in this link:
https://www.wikihow.com/Downgrade-iOS
However this solution requires that the older iOS version (17.1.1) is still “signed” by Apple, which means Apple still “allow” you to use that older version. If this version is not signed by Apple anymore then you’re just stuck.
Also note that this downgrade process will erase everything (all data) and make your iPhone blank. So you should backup your data somewhere else first. The best case is you already have a backup in that older iOS version (for example, 17.1.1) then after downgrade, you can just restore that backup.