Can you get pregnant day you feel ovulation pains

Can you still get pregnant the day you feel ovulation pains? My husband and I did not bd the 2 days prior to the pains, but did 3 days prior and day of pains. TTC and know I missed the most important days before ovulation. Wondering if there is still a chance. My ovulation pains last for 3 days which also confuses me but my dr said I'm fine.