Constipation!!!

Anyone know what I can do for constipation. I am 9 weeks. I'm miserable. What can I do that will be safe for the baby? Haven't gone in days and I am so bloated!