Virgin and confused

I’m a virgin and while masturbating I felt a bit of pain and felt “off” halfway, I looked down and I had some blood, did I accidentally break my hymen?