Pregnancy test

My period is supposed to come the 18th, my boyfriend has came inside me twice now. When’s the best time to take a pregnancy test?