You have multiple lifestyle issues.
1. Include 300gm of fiber everyday in your meal. fiber reduces your gas problem as well.
2. avoid spicy food, alcohol and tea or coffee in empty stomach.
3. take a course of antacids for a week and try.
4. avoid staining in the morning. pass stool as many times as u feel in the day.
Next Steps
take antacids for 7 days. Meet your surgeon or gastroenterologist.