Help period problem

I had unprotected sex and then my period came 2 days early unlike my cycle that comes on the first day of the month, I'm not sure if it was my period because it was lighter and lasted for 7 days. Please give me your insights about this and if anyone has experienced the same thing