The invention is related to the use of a composition for the manufacture of a medicine for the treatment or prevention of Helicobacter pylori. The composition includes a carbonaceous material and an active particle, and the particle is supported on the carbonaceous material and a material of which is silver, gold, aluminum, zinc, copper, or titanium dioxide.本發明提出一種組成物用於製備治療或預防幽門螺旋桿菌感染之醫藥的用途,而組成物含有一碳質材料及一活性顆粒,活性顆粒是承載於碳質材料上且其材質是銀、金、鋁、鋅、銅或二氧化鈦。