Had unprotected sex while on my period

Can I get pregnant? I have a 37 day cycle meaning I am most fertile on day 21. I am on day 2 of my cycle and had unprotected sex and he finished inside me. Should I take a plan B?