Anal?

My boyfriend has mentioned anal a few times and I told him I’m not comfortable with that, and he respects that, but I’m kinda thinking about it, so what’s the pain like? What do I need to know? What do I need to do to be prepared?