The reason sharing illness or viral infections is so easy is because viruses and bacteria are spread through the air we breathe and even more so in everything we touch.
What can we possibly do? Viruses and bacteria are too minute for air filters and purifiers to trap. It is also impossible to chemically wipe down everything we touch all day, everyday. In our busy modern lives we cannot completely quarantine the sick from the healthy.