1. A method of controlling or preventing epileptic seizures comprising the steps of: (a) implanting a signal generator in a body; (b) implanting at least one electrode to be in communication with a vagus nerve of said body; (c) coupling said one or more electrodes to said signal generator; (d) operating the signal generator to provide stimulation pulses to the vagus nerve via the electrodes; (e) generating a sensor signal indicative of a characteristic of a heart; and (f) regulating said stimulation pulses in response to said sensor signal, whereby epilepsy is treated.