Practicing good oral hygiene is the best way . Gently brush your teeth twice a day with a soft toothbrush. Also, brush your tongue. You can use a tongue scraper to make sure you're thoroughly cleaning it. Drink plenty of water throughout the day to help keep your mouth clean.
Other tips include:
If you smoke, quit.
Add more roughage to your diet. Soft foods won't clean off the tongue effectively.