Cure yeast

I think I got a yeast infection from not peeing after sex I don’t have any STD the doctor said it’s yeast infection but I didn’t get to get my medicine from pharmacy.. WHAT CAN I USE omg