Very early positive pregnancy test, when did i ovulate??

ca

Hi ive had a positive pregnancy test, but think im only days after ovulation. I have a 31 day cycle. What do you all think. I can't figure out when it all happened and whether a positive result so early could mean an ectopic pregnancy or something?