(HealthDay News) -- If a flaky scalp is bothering you, medicated shampoo may do the trick. But lifestyle changes also can help prevent dandruff.

The Mayo Clinic suggests:

  • Keep stress in check.
  • If your hair is oily, shampoo each day.
  • Enjoy limited time in the sun. Sunlight may appear to help dandruff, but its ultraviolet light increases your risk of skin cancer. Apply sunscreen on any exposed skin.