Sex/Pregnancy Question

Stupid question but I’m super inexperienced. So I had sex with my boyfriend for the first time and the condom fell off. I got my period 2 days later. Because I wasn’t ovulating when the condom fell off and had my period, can I still get pregnant?