This article explains how to reset network settings on an iPhone. The information applies to iPhone 12 through iPhone 6 running iOS 14 through iOS 8.
How to Reset Network Settings iOS 15
To reset network settings on your iPhone, follow these steps:
Open the Settings app on your iPhone.
Scroll to the bottom of the screen and tap Reset.