what can I take?

I have had 3 losses prior to this pregnancy. One 4 mths along, so needless to say I'm very worried about this pregnancy. My entire life I have suffered from constipation and now it's worse. I'm very uncomfortable and bloated. What can I take that is safe and won't hurt baby? I am just over 6 weeks pregnant.