There is no "link to fix my hp windows 7 desktop" when you can't even connect via a wired (Ethernet) connection. The issue can be anything from Windows is corrupt, hardware is failing, there is malware, you didn't pay your Internet bill, or just as someone just finally admitted to "Was blocked by my apartment complex for using too much data".
reboot to SAFE mode with Networking does it work now? If yes, then
Download Malwarebytes and do a full system scan (AV doesn't pick up alot of malware) - this resolved almost ALL other similiar posts to date as most had Malware the AV didn't pick up.
Remove whatever AV your using and go to www.filehippo.com and download AVAST! or AVG, then do a full system scan - this repeatedly has resolved alot of people issue relying on MS Essentials.
Repeat the AV/Malware scans till the system comes up clean.
IF NO, then try System Restore to back to when you DID have Internet and repeat the steps above.