WIFI? Try disabling the adapter and enabling it to speed things up. Sometimes they're a bit slow to scan and connect. If that doesn't work try rolling back the drivers to another version if possible. I had an issue with an intel 7260 where it would drop out and not connect quickly on the latest drivers and rolled them back a couple of versions and then it stopped doing it.
Ethernet? check the cable / router