Dumb Question, Just Need An Answer

Jessica
So, if you know what day you had sex, how soon can you do a pregnancy test??