Little bit of tmi

I have constipation, but it's caused from the fear of pushing too hard and something going wrong with my baby. This is my first pregnancy and I feel like this is a dumb question, but can making a bowel movement cause a premature birth or something to go wrong?