I see no PC details so try the usual. Test with some USB WiFi and follow the PC maker's instructions for BIOS and drivers. Disable power saving on the WiFi and be sure your router firmware is current.

The lack of PC details means only generic advice. If you told me you had a decade old WiFi card, I would also say it's days are over.