Some women who switch to a gluten-free diet feel less endometriosis pain. But it doesn’t work for everyone. Try cutting wheat from your diet for a few months to see how you feel. Instead of regular pasta, eat rice noodles or corn pasta. Replace wheat-based foods with rice, buckwheat, and lentils. After a month or two, you can try wheat again. If pain and bloating get worse, go back to a gluten-free diet. Talk to your doctor before you do.