TMI question

I was just wondering if it's normal to have such trouble pooping. I'm 19 weeks and yesterday I was worried I was having a miscarriage cause I knew i needed to push but it was super painful and ended up just being I needed to poop. I was super swollen after and felt super sick. I'm fine now, it was no fun though. Thanks