Anal Problems?

I have had anal sex with my boyfriend a few times and everytime we do it, it really hurts afterwards. It gets to the point when I am constipated and can't use the bathroom because I am in so much pain, and it makes me not want to walk around as much. Is there an easier way of getting through this?