Worried

I had sex on my period and it only lasted two days my husband and I are trying. I took a test and it was negative. My next period is 7 days from now but I don't understand why my period only lasted 2 days.