He hit my cervix really bad

Hi,

So I was just having sex and my partner suddenly hit my cervix real hard and I felt this sharp pain and I couldn’t keep going and it still hurts!! I can handle the pain but I’m afraid that smth might be wrong cause he hit it too hard. Should I go to the dr or smth??