Sure, we do all kinds of things to prevent viral infections. We wash hands. We wear masks. We vaccinate. For sexually transmitted things there are condoms.
We also have immune systems.
But at a lower level, when the virus makes it to the cell and hijacks its machinery to spread... That's the part i was thinking of. The cell isn't to blame for being hijacked.