.... remotely and they told me my internet line is infected with a virus.
What can I do?
Not possible. The "Internet Line" will not be infected with a virus of any type. This sounds like a scam, I hate to say. If you paid any money for this computer fix with your credit card, call your credit card company and ensure that the charge is not processed. Cancel your card if necessary. If this was "Microsoft" that called, make sure that you do that as Microsoft will never contact a consumer directly. I occasionally receive calls from "Microsoft Windows" telling me that my Windows (as in Microsoft Windows) is indicating that there is an error. My response " I don't have windows, I live in a cave. You must be really lucky to have windows." Usually the line goes dead after my response. So, unfortunately, you have to be aware that there scammers on the prowl, looking to make a fast buck any way they can. Know that they are out there and telling you a complete lie.
What can you do? Run more than one complete sweep of your computer with more than one product. For example if you have Norton, Kapersky, or others, ensure that it is up to date. Install Malwarbytes Anti-Malware (free version). When your antivirus is update and Malwarbytes Anti-Malware is installed and the database is up to date, turn off your modem, or disconnect your pc or laptop from the modem and run full scans of the pc or laptop using both products. When you are satisfied that there is no existing virus or malware that could have been installed with this remote fix, only then, reconnect back to the internet.
Other useful links for this situation:
I don't see anything malicious there.
Merely experienced a call from foreign people saying that they were from Microsoft support and that there seemed to be a malware on my own laptop of which must be removed. They stated they can verify it with my Windows License key. I hung up.
The top post has been edited. The problem is that these calls cost people their hard earned money. The call is completely bogus and alarms people by drawing their attention to the system logs which always contain warnings and errors. That is normal for any computer. If you're not computer savvy, you look at those logs with some amount of alarm and believe what you are being told. "We can fix this for x amount of dollars." There is actually no fixing to be done. The operating system is doing what it's supposed to do and logging the errors that come up, the vast majority of which are totally benign.
Hanging up is exactly the right thing to do, unless of course you want to have some fun with them and take up their time. Next time tell them you don't have a computer, you use an abacus instead. Ask if they know how to fix that