IBS During Pregnancy

Currently 21 weeks pregnant.. and my IBS has been flaring up repeatedly for weeks now. My doctor told me I can’t take the medication I usually have because it’s not deemed as safe for baby but I’m really struggling... does anyone else have experience with this that they can recommend?