Painful

I’ve just recently started experiencing pain when my hubby puts it in all the way during intercourse. I was riding him and it went all the way in and I fell off of him in pain. Why do you think this has just started happening?