IBS when pregnant

I’m nearly 13 weeks pregnant, and I have ibs (irritable bowel syndrome). And since finding out I have been having worse flare ups than what I was before. I’m scared this could be a problem or could affect my pregnancy. It’s affecting my every day life! Does anyone know if anything can help or if this could affect my pregnancy?