Abdominal pain and can’t poop

I havent been able to 💩in like two weeks. I’ve had diahrea in those two weeks but not a normal poop. I’ve tried everything, stool softener, miralax, home solutions and nothing. Tonight I had more dihrea with painful stomach cramps and gas pains. I’m about to be 27 weeks pregnant. Is there anything I can do to help with this or am I just f*cked ?

I’ve been trying to eat healthier so I don’t know if it’s because I switched my diet from mostly junk or whole vegetables and stuff or what