Period trouble.

So my period ended yesterday as I didn't have any blood for about 12 hours? So this morning I went to school and halfway through the lesson I got the "uh oh" moment and you realise what has happened. I ran to the bathroom as soon as the bell went and blood was pouring from me. My period is usually very light too. Why could this be happening? Also I'm 14, please be nice about it