Fixes many Wi-Fi, Bluetooth and mobile data problems without deleting your files.
Samsung: Settings, General management, Reset, Reset network settings (or Reset mobile network settings).
Pixel and others: Settings, System, Reset options, Reset Wi-Fi, mobile and Bluetooth.
iPhone: Settings, General, Transfer or Reset iPhone, Reset, Reset Network Settings.
What it removes: saved Wi-Fi networks and passwords, paired Bluetooth devices, VPN settings and mobile network settings.
What it keeps: photos, apps, messages and accounts.
Write down important Wi-Fi passwords first. The phone restarts and you reconnect to everything.