Be sure to wash your hands, take antibiotics exactly as directed by your doctor, and do not save antibiotics for future use. In addition, being up to date with your immunizations can help to prevent bacterial infections as well. Lastly, do not share your antibiotics with others as their conditions may need a different therapy and a complete course.