3) Other procedures:

If the medications can’t control your condition and surgery isn’t suitable for you, your doctor may consider other options, like:
Devices
Your doctor places devices under the skin of your chest (vagus nerve stimulation) or scalp (deep brain stimulation). These devices send electrical pulses to the brain to prevent seizures.
Ketogenic diet
It’s a high-fat, low-carb diet. It’s helpful in children and sometimes adults (more research is needed). But, it should be under the supervision of your doctor.
Finally, remember that:
Epilepsy is a common and chronic condition. But, various management options are available that may end in living without seizures. But, you should follow your doctor’s instructions and avoid activities that may put you and others in danger, like driving and swimming. Ask your doctor about the first aid for seizures and teach your family (or whoever lives with you). You can pass epilepsy or have a natural life with it, but you should want this before.