Sumatriptan is indicated to treat migraine headaches. These are unique headaches often associated with extreme pain and visual disturbances, making them extremely distracting and dangerous when operating vehicles or machinery such as flying an airplane.