Your healthcare provider may also choose other tests if a yeast infection doesn't go away or returns frequently. This may be a sign of an underlying cause such as HIV or a weakened immune system.