If you mean colds and other other viruses, use a hand sanitizer frequently.
Many germs are spread via the hands. Change your diet
to include more fruits and vegetables which boost your immune system. The supplement airborne (most drugstores carry it) may help but it is unclear if it really works.