IBS & pregnancy

Did anyone suffer from IBS prior to getting pregnant? If so, how do you deal with it now that you’re pregnant? Does your doctor have you on meds even with being pregnant?