Optimize the range of the mobile network, see this Apple article:
If you see No Service or Searching on your iPhone or iPad
If you see No Service or Searching on your iPhone or iPad - Apple Support
Check Wi-Fi network:
Connect to Wi-Fi on your iPhone, iPad, or iPod touch
Connect to Wi-Fi on your iPhone, iPad, or iPod touch - Apple Support
If your iPhone, iPad, or iPod touch won’t connect to a Wi-Fi network
If your iPhone, iPad, or iPod touch won't connect to a Wi-Fi network - Apple Support
Check router settings -> Recommended settings for Wi-Fi routers and access points
Recommended settings for Wi-Fi routers and access points - Apple Support
If you need help with your Wi‑Fi password
If you need help with your Wi‑Fi password - Apple Support
If they are On, turn Off Hotspot & VPN.
See -> If Safari isn't loading websites or quits on your iPhone, iPad, or iPod touch
If Safari isn't loading websites or quits on your iPhone, iPad, or iPod touch - Apple Support
- If you're using a VPN (Virtual Private Network), check your VPN settings. If you have a VPN turned on, some apps or websites might block content from loading.