Thrush can be avoided by eating a balanced diet, reducing sugar intake, dressing in airy, loose-fitting clothes and maintaining good oral hygiene.