A. Check if there are any background apps consuming bandwidth. Close unnecessary apps to free up resources. You can also try switching between Wi-Fi and mobile data to see if one connection is more stable than the other.
B. If the issue persists, consider resetting your network settings. Go to Settings > System > Reset options > Reset Wi-Fi, mobile & Bluetooth.