What to do

So this might be a little tmi but I don’t know what to do me and my fiancé had unprotected sex Christmas and the day after and I’m getting low back cramps when should I take a test my period isn’t for another 9 days