anyone had suffered from yeast infection, bacterial or ureaplasma

Stacy
Hi everyone, 
I'm new to this app and all the ladies here are awesome in helping and understanding the situations. 
Here is my turn to get your advice and suggestion. I'm ttc for about 6 months and last week we went to doctor and I got to know that I have yeast infection and ureaplasma which affects the fertility. I started taking the pills which doc suggested.
Did anyone faced this kind of situation and what you have done to get rid of it ?
How much time do it take to get rid off it ? 
Share your experience !!! Thanks in advance for you valuable suggestions.