Yeast infections

Ok so I know this topic is kind of gross but if you have a yeast infection , will it go away on its own and how long will it take?