Bleeding while intercourse

I just had sex a while ago and I thought I came, but I actually didn’t .. It was blood. Is it something I should be worried about? Or is it because he went too hard?

Note:

I haven’t had sex since May 2018.