Surgeons may try to prevent grand mal seizures by performing surgery to remove the part of the brain that is causing the seizures. This is typically done when medications are not effective in controlling the seizures or when the seizures are originating from a specific area of the brain that can be safely removed without causing significant damage.