Two different issues. For constipation ensure a high fibre diet, and plenty of fluids orally. The other complaint is typical of Gastro esophageal reflux. Stop spicy food, smoking, cut down on tea/ coffee. Do not lie down immediately after meals, at least an hour.
Next Steps
Consult a doctor if the above measures don’t help.