Try first to 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
Your iPhone is connected to the internet through the Personal Hotspot of another iOS device.
Turn the Personal Hotspot -> OFF.
Check the Wi-Fi network, see the following Apple articles:
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