Is something wrong?

During my period on my way to the bathroom I peed on myself, the thing is I didn't really have to pee bad. Before that I haven't had any trouble with going to the bathroom and was never able to pee without being on the toilet (I tried lol). This happened twice but is there really a problem? P.s. I'm 14 a haven't pissed in the bed since I was 3