Can someone help me out

So my friend had the stomachs bug today and he was hugging me and hanging around with me yesterday. And my cycle is on day 24 of 28 anyways I been having stomachs cramps all arvo and I was wondering if it is the stomache bug or my period coming on