AEDs work by stabilizing neuronal membranes and enhancing inhibitory neurotransmission. For instance, phenobarbital enhances the activity of the GABA neurotransmitter, which has an inhibitory effect on neurons. Phenytoin, on the other hand, works by reducing the excitability of neurons by blocking sodium channels.