Maintaining good hygiene, getting vaccinated, safe food handling, using antibiotics judiciously, and public health measures can help prevent the spread of infectious diseases caused by microorganisms.