The pill

Will I get pregnant if I'm on the pill and the guy came in me the week before my period?