Medications and more medications. Maybe an electrical device implanted in your neck. In the end, surgery. This pretty much describes the medical treatment of epilepsy and migraines.
And, as a whole, this treatment paradigm sucks. It does nothing to protect the brain, which should be the number one goal. I should consider clarifying this by noting that it should be the number one goal after the seizures are under control, but only 30% or so of epileptic patients are able to achieve control of his or her seizures quickly with the first medication used.