Hello,
Thanks for the query to H.C.M.Forum.
Chances are of two possibilities are there.
1 hyper acidity since childhood due to faulty dietary habit.
2 There may be
hemorrhoid .
3 When you passes solid stool there is some mild tear inside
anal canal.
when soft stool passes there tear gives burning sensation or feeling of pain.
When, as you stated in ,took
antacid ,got relief . as this was due to relief in gastritis( hyper acidity).
Now the best way is to change in diet and nature ( habit) as,
Stress,
strain,
spirit ( alcohol),
spiced food,
smoking,
overfeeding .
these above mentioned reasons are responsible for gastritis.
Consult a surgeon/physician and get in physical examination for hemorrhoids.
Hope I have answered your question.
If further any question I will help.
Good wishes.
Dr. HET