Not all yeast infections require medical treatment and if the yeast infection is not too severe then the yeast infection will usually go away on it's own without medical treatment.
If the yeast infection is just mild then usually it will go away on it's own within a few weeks to a month but sometimes the yeast infection will require some medical treatment especially if the yeast infection lasts longer than a few weeks or month.
You can help to get rid of a yeast infection at home by applying some anti fungal cream to the affected area or add a couple of cups of apple cider vinegar to a warm bath.
Then soak in the bath of apple cider vinegar for around 30 minutes and do that everyday until the yeast infection goes away.
You can apply some diluted tea tree oil to the yeast infection as well to help get rid of it and sometimes if the yeast infection is mild the yeast infection may go away within one to 3 days.
But sometimes the yeast infection can last longer.