If you're having trouble connecting to the internet or other computers on your network, try the following:
Restart your computer and router.
Check your cables.
Run the Network troubleshooter.
Update your network drivers.
Reset your network settings.