Epilepsy Surgery

For people whose seizures do not respond to medicines brain surgery may help bring the seizures under control. How does a person with uncontrolled seizures find out if surgery might be helpful?