Period late for 3 days

I took a pregnancy test today and it was negative. Why is my period late? I had unprotected sex on August 12 my last period was 24-29 .