Then your condition should be resolved once the h pylori is cleared up. However , I think people with h pylori have a hereditary condition or are missing some type of antibody to counteract it as in some people it causes no problem. My cousin has had it and her brother had problems with ulcers but in those days they did not know much about h pylori. You still have to eat a careful diet. They said broccoli sprouts help in eradicating this bacteria, together with manuka honey, mastic gum and coconut oil naturally.
Basically your condition is caused by h pylori, which causes excess acid and gastritis is a condition of acid reflux. Hope you get better soon.