A 34-year-old woman experiences recurrent unilateral throbbing headaches associated with photophobia and nausea, occurring twice per month and lasting up to 24 hours. Simple analgesics usually relieve the pain. Neurological examination is normal. What is the most appropriate management?