The appropriate medication, together with changes in lifestyle and self-help styles, can help manage migraines.