Yeast infection

How long can a yeast infection go untreated for? What if it goes untreated? What will happen?