Sex hurting

So when me and my boyfriend gave sex ,  it feels good in the beginning but then , it starts to hurt or burn like its just dry , but it's never dry down there ( according to him ) what's the problem ?