HP and cancer: The carcinogenic effect of bacterial infection is small: Hp -infection is a significant but small risk factor for gastric carcinoma, and cancer development typically takes many years.