TMI constipation

TBaby
This is TMI but since I've became pregnant my poop is so hard and I barely ever go. Today I went and it felt like I needed to poop and it took forever to push and lately it's just like balls of poop. Has anyone else had this happened to them before?