Have you eliminated any foods or tried an elimination diet. I have these issues too and have gone gluten free and have actually not needed acid medication since going gluten free. I also stay away from high histamine foods because histamine is used to make acid in the stomach so reducing foods that are high in histamine helps. There are several websites with low histamine diets that are fairly good. The 7 deadly sins as a mastocytosis GI doc says are tomatoes, beef, pork, wheat, chocolate, onions, orange juice. Also egg whites are really high.