Check if your Xbox is correctly plugged in into an active wall outlet and if the cables aren’t loose.
Make sure your router and modem are connected and working normally.
Restart your router and modem by unplugging them for a few seconds
Verify that your wireless connection is available and that your connection settings are correct.
Updates and patches for the Xbox system should be kept current.
Make sure no firewall or anti-virus software is blocking your connection.