Leaking Urine

Lately during my periods, I have been leaking urine in my underwear when I wear a tampon. One day during my lab at school, it was so bad it went all the way through my pants and everyone could see! Why is this happening?