thank you for your query.
Having intercourse the day after your period has almost zero possibility of resulting in pregnancy
However after childbirth, periods and ovulation are erratic.
You would do well to consult a gynecologist to rule out pregnancy.
Also screen yourself for hypothyroidism
, calcium and vitamin D deficiency.
Take regular iron and calcium tablets if breastfeeding
Use a regular form of birth control.
All the best