Take anti-fungal lozenges or liquids for ten days. Taking garlic also helps for it has anti-fungal property. Eating yogurts and drinking milk also is a home remedy for oral thrush. you can also vist a doctor for antibiotic medication. To prevent it you should have a good oral hygiene, brush, floss and gurgle.