what happened?

i was masturbating and i got that feeling that i get when i’m about to come then my body started twitching, it was really wierd and so intense that i had to stop, this has never happened before i came