Help constipation?

I think I’m constipated and it’s been having me so miserable I’m pregnant and I went from having diarrhea and a pass every day to goin days without one. Please all I do when I think I have to poop is pass gas 😫😫😫😫😫