Pain during sex

Jay

It started out just every once in a while when I was riding him. It was a stabbing pain. Like he went too deep? That’s what I thought it was. But a couple days ago we were having sex and after I came nearly every time he thrust in it hurt. I had to have him stop Bc of the pain. What’s wrong?