Period came early but was short.

Katelyn
Alright so my period came 4 days early and also it was very short. I only bled for 1.5 days. The days before and after was pinkish brown discharge. What could this be? I'm so confused. I also had unprotected sex Monday the 3rd or 4th. My period was supposed to start the 16th