AEDs work by targeting different mechanisms in the brain to prevent seizures. Some drugs enhance the activity of the neurotransmitter gamma-aminobutyric acid (GABA), which has an inhibitory effect on neuronal firing. Others inhibit sodium or calcium channels, which are critical for the propagation of electrical signals in neurons.