Have prebiotics before your meals to improve your digestion. If you are not lactose intolerant you can eat Curds to improve your gut health.
Next Steps
Eat small dinner 2 to 3 hrs before bedtime. Walk around after half hour of eating. Also avoid spicy fried foods at night.
Health Tips
Eat simple khichri, easy to digest vegetables like lauki, tori, curds to help improve your digestion. Eat good amount of fibre in your foods. Oats, vegetables etc is good for constipation. Exercise regularly. Once your constipation reduces your piles problem will also be reduced .