How can you repair your network card in your desktop?

Go to network connections. Find the connection you want to repair. Right click on it. Click repair.