If you have a prescription, take an Imitrex dose when you feel your headache or migraine starting. Wait at least two hours before taking a second dose if the migraine persists.