how to get rid of yeast infection?

How can u tell you have one? Can it go away by itself or can u get rid of it without going to the doctor