Ergot alkaloids are a group of headache medications that include dihydroergotamine (Trudesa, Migranal, others) and ergotamine (Ergomar, Cafergot, Ergostat, others).
These medications are only used to treat severe, throbbing headaches such as migraines and cluster headaches.