What is this?

Lily

So the past couple times I’ve had sex it’s been painful and I’ve bled. But I’m not sure why? I didn’t have my period this month because I skipped it on the pill so I was wondering if this was because of that?