Hello Friend, Good that you are seeking a help here. Seems you have issues with your digestion system.. It needs further details and evaluation to analyze. As body and mind are interlinked, even emotional issues like anxiety or depression can also influence physical condition like digestion, acidity, headaches etc.
Better get a holistic assessment of your both physical and mental symptoms and conditions don to isolate the root cause behind your problem.
Next Steps
Feel free to reach out to me online through Practo for further detailed evaluation and suitable recommendation. As I am also an ayurveda wellness counselor, can guide you on the alternate solution to address this problem.