Pregnancy constipation

Lexi

i’m 24 weeks & have never had this problem until now. i was a coffee drinker & recently stopped & since then i’ve been constipated. i’m not sure if that’s the problem or not but nothing is working. i drank a whole bunch of prune juice & milk of magnesia & after 24 hours of them not working i gave up & took a small dose of stool softeners yesterday. that worked. but i woke up this morning with the same stomach pains & super bloated again. any advice you can give me will help.