Migraines during pregnancy

Does anyone know what causes them? Is there anything I should avoid? I am getting one about once a week. Is Tylenol the only thing safe to take?