Need help😵

Papia

I am 8 weeks 4 days pregnant and i have really really bad constipation... Can i have this syrup? Is milk of magnesia suggested to any of you by a doc?