islombek162 wrote:
I just want to install ios 17.5.1
That won’t happen, as iOS 17.5.1 is no longer available.
You should be able to install the current iOS 17.6.1, with iPhone XR, iPhone XS, iPhone SE 2nd, or newer.
Force a restart, and restart your Wi-Fi router, and try again:
Force restart iPhone - Apple Support
Hold that third button press past any sliders that might appear, holding until the Apple logo appears.
Then remove any add-on VPN apps, and any add-on security apps, any existing beta, and try updating again:
Here is how to: Update your iPhone or iPad - Apple Support
Failing that: If your iPhone or iPad won't update - Apple Support
If nothing else works, use a Mac or PC to update, or bring it into Apple and ask for help.