am i pregnant?

So i dont really know about my period, sometimes it lasts for 7 days, some times 15, or maybe 5.. I go to the doctor and he send me the pills (anticonceptive) to regulate me, and i had un-protected sex with my bf when i was still bleading.. Exactly in day #10, he did it inside me.. Is there any posibility that i get pregnant? Im so worried