Anal sex

Me and my partner want to get into anal sex. I’ve never done it before. He brought a butt plug to start with and to be honest when he first tired to put it in, it hurt a lot. Any advice to make it easier?