If you PC has lost network but the other one in your team still can access network, you can try to do some step below to fix:
Restart the network service
Windows: Click the Start button the type in the Run field (Windows 7) View Network Connections, On Windows 10 there is a small circle next to the start button, click on it and type the same.
You will see your network connection
- Right click and select Disable and then Enable it again
- Run this command: sudo service networking restart
- Try unplug and plugin the network cable again.
- Restart your PC