Help 😩

Back in January when my period came, I was having severe cramps. Then I began to vomit later that day repeatedly like a stomach virus. I took some ibuprofen and went to sleep and the cramps and vomiting stopped. Today I had really severe camps but I was in school so I didn't take any ibuprofen. I started vomiting again like a virus and my period began yesterday. Am I pregnant? Or infected? I've never vomitted while on my period until these months. I am sexually active when not on my period. And last month my cycle shifted to 8 days later. So what does this mean? Anyone experiencing similar symptoms? Is it pregnancy with my menstraul?Â