Anal sex

My boyfriend and I wanna try something new in the bedroom and do anal. I’m excited but also nervous. How am I supposed to prepare myself for this kind of thing when I know it’s going to hurt a lot?