Dandruff problems...

What are some ways to get rid of dandruff and how can you prevent it?