help!!!

how long after your missed period should you wait to take a pregnancy test?? 
my boyfriend and i had sex a couple times without a condom last month, and he didnt come inside me, but i'm 4 weeks late for my period...