Bled during sex after two month no sex

Hello, I had sex for the first time in 2 months of no sex, and after, there was a lot of blood. It hurt a lot when he was putting it in me. What could this mean?

My period was two weeks ago. I’m in my ovulation week.