Surgical intervention may be considered when seizures are not controlled by medication. Procedures like focal resection, corpus callosotomy, or vagus nerve stimulation may be options. These procedures require thorough evaluation and are typically reserved for severe cases.