Can I get pregnant even tho I’m near my period date

I’ve read a lot about how women can only get pregnant when they’re ovulating. There is still a small chance after ovulation but again it’s low..

I had sex yesterday morning and even tho I told him I wasn’t on bc he still finished inside me, the beginning of the month we had sex but it was at the end of my period I got scared so I took a plan b just Incase. My period is due in about 2-3 days, I’m pretty regular. But I’m worried about taking plan b twice in one month.. should I take it or should I be fine since I’m about to get my period

Is it really true that it’s harder to get pregnant after/before ovulation ??