Worst pain of my life

Okay, so yesterday my period started, I was fine for awhile just like all my other periods, mild cramping of any... And then all of a sudden I started getting horrible sharp pain in my lower stomach, it was almost like I had to poop and couldn't kinda feeling (sorry if that's tmi) but anyways I would sit on the toilet and try to use the bathroom, well i started getting very hot and my entire body broke out in a sweat and I felt like I was going to pass out, I tried walking back to my bedroom and almost passed out and hit the floor, I couldn't feel my legs and my entire body was sweating horribly. I finally went and got in a hot bath tub... Finally after about an hour the pain went away to where I didn't feel like I was dying. Has anyone ever had this happen? I seriously felt like I was going to die....