Constipated

I'm 8 weeks pregnant & haven't had a bowel movement in like 5 weeks. My stomach hurts from it. I've been drinking a lot more water to try to help it but it hasn't worked. I tried cranberry juice but that hasn't helped, either. Any recommendations? I'm miserable lol.

Tia!