Why do people get migraines, and what are effective treatments?

Why do people get migraines, and what are effective treatments?