Antibiotics directly kill portions of the healthy gut microbiome; antacids alter the gut microbiome by decreasing acidity in the gut,” Nylund told Healthline. “Both antibiotics and antacids have been shown to decrease the bacterial diversity in the gut.