High risk of pregnancy?

So my boyfriend and I weren't having sex just masturbating together, then while he was cumming he accidentally had his penis touch my vaginal opening but only once and for a little bit, so I think only a little cum got in. Could I become pregnant? My period is supposed to come today so I don't think it's my fertile window.