Stomach virus then cycle

Ol
Tuesday, I had a stomach virus and I used the bathroom and vomited so much that I started spotting. Today, my cycle started for the second time this month. Has this happened to anyone else before? I'm kind of freaking out..Lbvs.