Get rid of yeast infection fast!

So I recently went to the doctor and they told me I had a yeast infection so I got one pill. Just one. What are good things to eat and things to stay away from to help this go away faster. Its so uncomfortable.