A. Check your internet connection and try switching between Wi-Fi and mobile data to see if one works better than the other.
B. Reset your network settings by going to Settings > General > Reset > Reset Network Settings. Note that this will remove all saved Wi-Fi passwords.