How to make anal hurt less?

My significant other really enjoys anal sex, and I do to but it always is a little uncomfortable and after I'm usually in pain, how do I make that stop?