First, try to force restart your iPhone. Or use the latest iTunes on your computer and launch it to restore your iPhone. But this will cause data loss. However, there is the alternative you can try: TunesKit iOS System Recovery. It can fix more than 50 ios-related issues. See more in: https://www.tuneskit.com/ios-system-recovery-for-mac.html