Sex on first day of period

Patient: Me and my boyfriend had sex 3 days ago on my first day of period . He first ejaculated with foreplay and after a couple of hours we had sex but he did not come inside me , after cleaning up we had sex again but stopped . is there a high possibility of pregnancy? i suffer from depression and im on medication .. would it be better to take the after day pill ? I’m really scared …

Doctor: