Short version – it depends.
If it’s a well-known virus, having a virus software like AVG or Avast or any number of others will detect it, probably prevent it from installing in the first place, and clean it up for you. At most you may have to run a full scan if it snuck through.
Back in the day, a novel virus might force you to do things to uninstall it that could range from as simple as deleting a file, removing a registry entry, removing it from the start list, or whatever. But the really smart ones would replace system files that were real and rather than doing anything overt, would use that to then install the part of the virus doing the deed. I had one of them (see your other question).
But all of this is MUCH less common than Ye Olde Days. We’re in the era where viruses and cyberattacks are less likely to be bored teens and young-adults and more likely to be organized money-making operations in Russia, North Korea, China and other places that don’t give a f—- about playing by the rules.
They are far less likely to be interested in a private citizen because you’re unprofitable. A company is profitable. Their LIST of credit cards is profitable. You’re small potatoes. That and..modern systems are getting a bit more secure. Microsoft has closed some of it’s most gaping security holes in the last decade after decades of stubbornly refusing to do so. It’s not that it’s impenetrable, but it’s good enough now that you’re no longer the complete sitting duck you used to be.