pregnancy constipation (TMI)

Ch
so i've had REALLY bad constipation for about a week and today i FINALLY managed to go!! but now im in extreme pain and im worried that the straining could cause problems with baby?! im 6 weeks 3 days.