You don't get viruses from sharing. You get them by downloading, especially program/game files like exe or zip. See this post for more information:
WARNING: Viruses on network you should be aware of!.
If you don't share then your a
freeloader which is a bad word on p2p. If you download from someone then you should return the favor and share with someone else.