How do I re-establish connection on my phone to a network such as Safari?

My phone isn't connecting to any network, and it usually is connected all the time. The message I am receiving on my phone is that it is searching. I have checked my settings, but I can't figure out if I have disabled something or not. I didn't go offline on my phone intentionally, but I can't figure out how it happened. I hope this isn't too crazy sounding. Thank you.
Welcome to iMore! First try Reset Network Settings.
Reset Network Settings Settings>General>Reset>Tap Reset Network Settings. You may need to enter your wifi passcode back in afterwards.

If that doesn't work, you may want to contact your wifi/cellular provider.
It may be a problem tied to the internet options form your provider. It is possible that you may have altered the internet configuration in Settings-Cellular-Cellular data options-Cellular network and check if the APN, user and (eventual) pass match with the settings provided by your carrier

Original thread: https://forums.imore.com/threads/how-do-i-re-establish-connection-on-my-phone-to-a-network-such-as-safari.377198/