Pregnant

Adasia

Just had a period June 12th-June16th I had sex two days after my period went off. I went to the doctor because I was having abdominal pain and started bleeding. I was told by the doctor my pregnancy test came back positive. I’m confused on how I got a positive pregnancy test so fast anybody had something similar happen? Explain please.