My boyfriend loves sex than I do

My boyfriend and I have been together for more than 2 years and he really love sex. The problem that I have is that I usually experience some serious pains when having sex. I told my boyfriend about the pains. I don't know what to do anymore about this pains. Please help