A wireless signal is limited by radio obstructions such as walls and floors, as well as distance. You may need to move closer to your gateway.
If this is only happening on one device, this could also indicate a problem with the device trying to connect. Turning the WiFi off and on again or restarting that device may help.