Help!

I got my period June 1st to the 5th and from the 5th to the 12th my boyfriend was ejaculating in me, do you think I could be pregnant? When should I take a pregnancy test?