diflucan and ectopic pregnancy

Has anyone here that has had an ectopic (ruptured) pregnancy taken diflucan before it happened? 
It's what happened to me with my ectopic... I had a yeast infection, was suspicious it was a sign of pregnancy. Took diflucan and sure enough a week later I find out I'm pregnant. Fast forward a week or two later it ends up being a ruptured ectopic. I have a YI again (haven't had one since that pregnancy 4 years ago) and I'm worried I'm pregnant (in my two week wait.)
Trying to figure out if the drug could be related and what to do 😩 I only have one tube left and been ttc for almost a year so I don't want to take chances.