Get a test for Celiac. In lots of cases it takes 6 years to diagnose Celiac because everyone thinks they have IBS, including the doctors.
They thought I had IBS for years and then of course my meds were not working so they gave me a Blood test and my Gluten levels were sky high. Then had a biopsy and sure enough I had Celiac. I have been 100% gluten free and I am 99%. its took so long to find out what I had. I used to tell people I knew what I didn't have.