Maintaining good oral hygiene, avoiding sugary and acidic foods and drinks, and quitting smoking or using tobacco products can help to prevent oral thrush from recurring. It is also important to seek treatment for any underlying health conditions that may contribute to oral thrush, such as diabetes or a weakened immune system.