What is this?

Basically I had in a small tampax active pearl in, i just took it out to change it, everything seemed fine then I went to pee and it stung so much. What could have caused it to sting?