Anticonvulsants, also known as antiepileptic drugs (AEDs), are medications used to prevent and control seizures. They work by stabilizing the electrical activity in the brain. The mechanism of action may vary between different drugs, but generally, they enhance the inhibitory neurotransmitter GABA or inhibit excitatory neurotransmitters like glutamate.