pregnancy test

Jenny
I took a pregnancy test today and it came out negative I was suppose to get my period the 10th of this month but my period is irregular so am I testing to early ? I been having unprotected sex lately so I don't know why I don't get pregnant?