yeast infection possible pregnancy sign? got a positive test then a negative😔 HELP

I have. Just gotten a yeast infection and have been treating it I was wondering if anyone has ever had a yeast infection the found out they were pregnant I took a test last night and it showed positive but then I took one again this morning it was negative please help!!!