The following actions will help you avoid coughs brought on by infections: Avoid touching your lips, nose, or eyes, Use hand sanitizers, or frequently wash your hands with soap, water, and/or soap, Getting immunized against influenza, COVID-19, and pneumonia, Staying away from sick people.