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
Low Power Mode is On.
Charge the iPhone & wait until the battery is fully charged (100%).
The Low Power Mode will turned off automatically.
went to the other WIfi location like starbucks
That means you use Public W-Fi, see this Apple article: Use captive Wi-Fi networks on your iPhone, iPad or iPod touch
Use captive Wi-Fi networks on your iPhone, iPad or iPod touch – Apple Support (UK)
If you are at home, 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
Check you Wi-Fi Home network, see the following Apple articles:
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