Bismuth subsalicylate, aka Pepto-Bismol. It is effective against the H. pylori bacteria.
When I had a stomach ulcer, the med the doctor had me on included 6 bismuth per day for 14 days. The original prescription was Helidac, a combination of bismuth subsalicylate, metronidazole, and tetracycline.
http://www.google.com/search?num=30&hl=en&safe=off&q=bismuth+ulcers&btnG=Search
http://www.drugs.com/mtm/helidac.html
Consult your health professional before taking any advice from Internet forums.
:)