Be aware that this will reset all internet settings so you will have to reconnect to all WiFi connections and other internet connections stored in your iPhone. You will most likely need to sign in to apps again as well.
You can see how you can Reset Network Settings on an iPhone below.
It is very important to restart the phone afterwards if it doesn't manually!