How can you prevent kidney stones and what causes them?

How can you prevent kidney stones and what causes them?