From history it seems that you might br having chronic GI infection or having parasite infection giving rise to this problem.
Go for stool test
for worm infestation, amebic or bacterial infection.
After report go for treatment accordingly.
Take light diet.
Take plenty of water.
Ok and take care.