To get rid of yellow teeth, practice good oral hygiene, avoid tobacco and stain-causing foods and drinks, and consider using teeth whitening products.