Popping during sex?

I have never had this issue before until recently but during sex when he thrust I feel something pop inside and it hurts! Any suggestions?

Sometimes it's multiple times and I just yelp at the pain, but it doesn't linger. It just a sharp pain, then gone.