I have cramping and diarrhea for 2 weeks now?

Hello my name is (…) I have been cramping and having diarrhea for the past 2 weeks I took some medicine for the diarrhea and it finally went away the cramping gets worse at night where I can’t even go to sleep it wakes me up my age is 42 the only thing I have is a thyroid medicine and my surgery they took everything out where I won’t be able to have kids or have my period