Cramps and constipation

Kaee

I’m having some cramps here and there and I’m constipated, is Miralax ok to take? I’m terrified of miscarrying.