Can you get pregnant 3 days after period?

Hi everyone. I had unprotected sex 3 days after my period ended. Then 9 days after my period ended (so a week after having sex, cycle day 13) I started getting cramping and little bit of nausea and that lasted like 3 days. My next period is due in 10-12 days.

So I guess my question is do you think I was just having ovulation pains? Can you get pregnant 3 days after your period? Is it too early to test? This is my first “scare” and I feel like I’m unnecessarily stressing myself out but I want opinions

Thanks!