iFixScreens.com
Force Restart: Press and quickly release the Volume Up button, press and quickly release the Volume Down button, then press and hold the Side button until the Apple logo appears.
Check Your Internet Connection: Make sure you have a stable Wi-Fi connection. If the setup is stuck during the connection phase, you can switch to a different network.
Use iTunes or Finder: Connect your iPhone to a computer with iTunes (Windows) or Finder (macOS). If your iPhone is detected, try restoring it to factory settings and starting the setup again.
Update iOS: Check that your device has the latest iOS version. Sometimes updating can solve the software issues.
Switch to a Different Power Source: Sometimes, the issue can be due to inconsistent power supply. Plug your iPhone into a different outlet or charger to rule out charging issues.
Try Airplane Mode: Open Control Center, enable Airplane Mode, then retry setup if your iPhone is stuck due to connectivity.
Change Language or Region Settings: During setup, try changing the language or region temporarily. This can sometimes refresh the system and get you past the stuck setup screen.
Sim Card Removal and Reinsert: Remove the SIM card and try setting up the iPhone on Wi-Fi only. Once the setup is complete, reinsert the SIM card.
Use a different Apple ID for setup: if the issue persists, then switch back to your original ID after completing it.
Disable Automatic Setup: Disable Quick Start Set up manually instead of transferring data from your old iPhone to avoid freezing during setup.
Contact Apple Support: If none of these steps work, it may be a deeper issue. Contact Apple Support for assistance.