If regular painkillers are not helping headaches then you can try anxiolytics and migraine medications.
Migraine medications like sumatriptan
and cafergot can be effectively used.
Other abortive remedies that work for some include ice, hot showers, cool or lukewarmwater sprayed on the face around the sinus, temple, and ear areas, breathing cold air, application of analgesic
balm beneath the nostrils, caffeine, and drinking large amounts of water in the early stages of an attack. Vigorous exercise has been shown in some cases to be very effective in relieving and aborting an acute attack by increasing the levels of oxygen within the body.
Avoid triggers like deprivation of sleep, smoking , alcohol ,bright light , inhalation of strong chemicals etc.
Prophylactic treatment include calcium channel blocker
Normally with some trial and error both doctor and patient reach most effective treatment in a particular case .