Welcome to health care magic.
1.The history and symptoms suggest most possible cause could be
IBS -
irritable bowel syndrome.
2.For which preventive measures are better than the treatment. Mainly diet need to be monitored very carefully.
3.Suggest at have more of healthy food like salads, vegetables, fruits, fibrous diet for better bowel moment. Avoid spicy, junk, fat containing food, and any addictive things like alcohol and so on.
4.For diagnosis you need to get a CT abdomen - which help to evaluate the possible cause, assess the bowel pathology and any associated possibilities.
5.Sugget to follow above mentioned remedy for a week to 10 days - there should be change, if not then needs further investigated and treated accordingly. Good luck.
Hope i have answered your query,
any thing to ask do not hesitate to ask.
http://doctor.healthcaremagic.com/doctors/dr-ganesh/62888