Anal??

So I’ve been wanting to try anal but like I’ve been scared because I’ve done it once but it was on accident and it hurt like hell lol but I wanna give it a try. Any tips on how to make it less painful??