How can migraines be treated effectively and what are the common triggers?

How can migraines be treated effectively and what are the common triggers?