Unprotected Sex

I had unprotected sex with my boyfriend about a week after ovulation and a few days before my period, however he did pull out... is this risky or is the least risky time for unprotected sex?