Vomiting and diarrhea during period

My period started a day ago and I woke up to use the bathroom and have been experiencing diarrhea and vomiting ever since. First the diarrhea then the nausea then the vomiting, the weirdest part is my period stopped and it’s just day two and it usually lasts 5-6 days. What could be the cause?