Diazepam is the generic name for Valium, a prescription drug doctors prescribe to treat symptoms of anxiety disorders. Anxiety disorders include generalized anxiety disorder (GAD), panic disorder, and obsessive-compulsive disorder (OCD). Valium may also be prescribed to treat the symptoms of alcohol withdrawal known as "delirium tremens." Additionally, the drug can treat muscle spasms from injury, inflammation, or nerve disorders. Doctors sometimes prescribe Valium along with other medications to treat convulsions or seizures. Valium belongs to a class of drugs called benzodiazepines, which work by increasing the effects of GABA, a neurotransmitter that moderates the activity of nerve signals in the brain.