Thanks for contacting healthcare magic.
You have problem of
constipation that cause
abdominal pain.
For constipation problem you have to modify your diet. ...like. ..
Drink more water per day.
Avoid
stress and alcohol drinking.
Eat fresh fruits and green vegetables.
Take high fiber foods like whole grains, beans, oats...etc
Avoid gaseous foods like cabbage, cauliflower, broccoli, carbonated drinks. .etc
Drink warm water every day at morning regularly.
Beet roots are helpful for proper digestion.
Lemon water helpful .
Kiwi and peach are helpful for proper digestion and bowel movement.
Bulk forming agent like
psyllium can use for constipation .
After taking this much care still symptoms are present than you can consent a gastroenterologist for further treatment.
I hope my guidance is helpful to you.
Take care.
Thanks.