Is my period coming??

I had sex on the 25th of February and I was supposed to get my period on the 8th. My period is about to be late by 3 days. I have occasionally gotten cramps that feel like normal period cramps I’m mostly likely overreacting, but a friend of mine told me that since February is shorter it could mess up my cycle tracking. Is this true? And how long after having sex can you test?