Hi,
Thanks for writing your query.
After reading your post, it seems that your symptoms can be due to
gastritis and bleeding from gastrointestinal tract.
I would suggest that you should get yourself clinically examined and investigated by a Gastroentologist.
Following investigations may be helpful :-
1.
Endoscopy.
2. Stool examination for occult blood.
3. Ano
Rectal examination by a medical professional.
I would advise that you should take an antacid like
Omeprazole 40mg once a day before meals along with
Domperidone 30mg for relief from your symptoms.
Following precautions will be helpful :-
1. Avoid spicy and oily foods.
2.Avoid being empty stomach for long periods.
3.Avoid mental and emotional stress.
4.Avoid smoking and alcohol, if any.
5.Avoid self medications, especially pain killers and steroids.
6.Drink lots of water daily.
7.Eat light meals prepared under hygienic conditions.
8.Avoid gas producing foods like peas, cabbage, legumes, etc.
I hope this is helpful to you.
Thanks.