TMI (sorry but need help)

I am so constipated and barely pooping. Can you take any laxatives or anything while pregnant because its just built up and I can feel it.