Almost fainted

Scariest thing just happened to me I was getting dress tryna pull up my bra and then all of a sudden I get really hot then dizzy ears started ringing vision went blurr and could barely get to the bed to sit down it went away then I got a headache and  I started crying never happened to me before was so scared.Has this happened to anyone before ?