Thanks for your question on Healthcare Magic.
I can understand your concern.
Constipation is mostly due to bad dietary habits. And this can be easily treated by dietary modifications.
So you should avoid following food.
1. Oily and spicy food.
2. Fatty food.
3. Junk food like pizza, sandwiches, pasta etc.
4. Stale food.
You should follow these steps for prevention of constipation.
1. Drink plenty of fluids orally and keep your self hydrated.
2. Eat more fruits and salads.
3. Eat high fiber diet like green leafy vegetables.
4. Take curd or yogurt at night time.
5. Drink one glass of warm water at night before bed.
6. Go for walking after meals.
You will mostly improve with all these.
Hope I have solved your query. I will be happy to help you further. Wish you good health. Thanks.