the good Lord has created many micro organisms that are very beneficial to the intestines and also help fight dangerous micro organisms. These are called Probiotics and are sold in the milk bottle area of a store near the Yogurt. Buy some of them, perhaps several different brands as while they often contain 10 or 12 types of these organisms, some have ones that others do not. Just drink a cup or two a day, or 1/2 a cup with every meal or snack. Soon your gut will be much happier.
Of course you should also seek good medical advice, but since you often have to wait a few days for an appointment, you can be using a probiotic or Kefir beverage in the meantime, unless your are diabetic and cannot tolerate the moderate sugar content in the sweetened varieties, which is most of them.
There’s another sidebar I read tonight about using “prebiotics”, which turn out to be inulin-containing supplements, most of which are made from chicory, but the Jerusalem Artichoke (marketing geniuses tried changing the name to Sunchokes, not realizing I guess that the “choke” part was what they needed to get rid of) is a form of sunflower (the name Jerusalem is a corruption of the Italian word for sunflower, the artichoke part is due to someone’s having observed that the flavor is similar to actual artichokes; citation, Louise Riotte), but the edible part is the root.