Piles is the common name used refer to hemorrhoids, which are essentially inflamed and swollen veins in the rectum and anus. Grade II hemorrhoids are hemorrhoids that swell and perhaps protrude during excretion, but then return to normal. Gastritis is a condition in which the mucus membrane of the stomach becomes inflamed.
It is unlikely that garlic and ginger will harm you in any way, even on an empty stomach, however, in your case it is also unlikely that they will help either. Both garlic and ginger have a large number of health benefits, but by themselves they cannot cure or control any disease or condition.
The reason why your gastritis was not cured was probably that your doctor was unable to determine the underlying cause. There are a large number of factors that can cause gastritis, and treatment needs to be provided accordingly. In addition, some causes, such as stress or an excess of spicy food, alcohol, tobacco, or caffeine, need to be addressed themselves before treatment can produce any effects. Even if these are not the causes or aggravating factors of your condition, there are still several others that need to be investigated — bacterial, fungal, or parasitic infections, autoimmune disorders, allergies, and steroids. You should go back to your doctor and allow him to investigate your case further. If necessary, visit a specialist.
answered by G M