need help about anal

My bf wants to try anal so we gave it a try and it hurt too much. Anything I can do to minimize the pain?