Pooping after birth

I'm clueless, can someone give me all the details? Does it only hurt if you tear? Why does it hurt? Does it hurt for everybody?