Try each step in order until you find a solution.
see to it the phone is not set to Airplane Mode.Airplane Modecan disable cellular and Wi-Fi services.
Toggle cellular data off and on again.

Erlon / Getty Images
If your mobile data is the issue, a quick restart cycle could help.
Toturn it off and then on again, selectSettings>Cellularand ensureCellular Datais on.
If it’s on, toggle it off and back on.
Also, double-check you have service where you are.
Check for signal strength bars in the upper-right corner of the screen.
Like toggling Airplane Mode, completelyrestarting your iPhonewill trigger a request for a new connection from your carrier.
Try turning on Wi-Fi calling.
Signal boosters are available from retailers, as well as most cellular providers.
Check for a carrier tweaks update.
Carriers occasionally release updates that can affect your iPhone’s ability to connect to the cellular data pipe.
Reset the web connection prefs.
Remove and replace the SIM card.
Only models from the iPhone 13 and below have physical SIM cards.
Check with your carrier.
Have the iPhone serviced by Apple.
Remove the SIM card and leave the unit in a dry place.
you’re free to also try silica gel packets or putting the iPhone in rice.
Newer iPhones have water damage resistance and survive water damage much better.
you’ve got the option to try toclean your iPhone’s charging portif it’s not charging correctly.
Taking it to Apple or a professional repair shop is recommended.
You’ll need to have your iPhone’s screen fixed by a professional.
The best options for iPhone screen repair include taking it to Apple or a certified professional.
Ideally, you should have a warranty, AppleCare, or insurance.
look to see if you’re eligible for a discounted upgrade to a newer model.