Tmi digestive system

Ever since I gave birth/ lost my baby at 16 weeks I've been having digestive problems , constipation has always been normal and easy to fix but this issues different I have a lot of trapped gas that I can't pass or takes forever to pass it's like I have to force it and then I have soft stool but have trouble passing that too. I pass stool every other day or every other two days and when I pass it I pass small pieces :( wether it's soft or hard/normal stool. My digestive track is so sensitive I feel the gas on top of my uterus and else where it's very uncomfortable . Does anyone know what this might be I don't think it's normal. And I want to fix this before I TTC .