difference between thrush and yeast infection?

What is the difference and how are they caused? And how can they be cured?