Just wondering

If your on your period and you have sex with a condom on , can you get pregnant?