Ergotamine, generic name, ergotamine belongs to a class of drugs known as Antimigraine agents. Ergotamine is used in medicine for the prevention or treatment of acute migraine headache with or without aura. Ergotamine is an ergot derivative, and it basically functions by narrowing the blood vessels in the brain of a patient to relieve migraine headaches.