If your PC can't connect to the internet, but others can. You may use these commands to solve most issues.
Launch CMD as an Admin:
ipconfig /release
ipconfig /flushdns
ipconfig /renew
netsh int ip set dns
netsh winsock reset
shutdown -f -r -t 00
This will reset your connections as well as your computer.