Sumatriptan is used to treat migraines. It helps to relieve headache, pain, and other migraine symptoms (including nausea, vomiting, sensitivity to light/sound). Prompt treatment helps you return to your normal routine and may decrease your need for other pain medications.