Help! Anal decisions

Ok so me and my boyfriend are both kinky and he wants to try anal but i have heard that it hurts and one of my friends said don’t do it. It’s so painful. What should I do? I don’t mind trying it but I’m afraid of it hurting to much