Can you ovulate 10 days before expected period

Just had a baby in December and had unprotected sex 2 days ago (10 days before af)

I’m getting twinges and dull cramps both sides not sure if it’s from having sex for the first time in months as I lost my sex drive during pregnancy or if it’s implantation.

No judgement please!