Because antibiotics kill the good bacteria even as they fight the infection you are trying to control it is commonly suggested that anyone who has to take antibiotics also take probiotics. Probiotics help build up the good bacteria in the digestive tract destroyed by the antibiotics.
Researchers publishing in Applied and Environmental Microbiology (February 2011, Vol. 77, No. 4) describe how the probiotic bacteria B. bifidum can help treat ulcers and gastritis caused by the H. pylori bacteria. Source: medicalnewstoday.com
Probiotics can be found in foods like yogurt and in supplement form.