PLEASE HELP ME

My last period was on the second of this month we had unprotected sex yesterday how long before I take a pregnancy test ?