Diazepam is used to treat anxiety, alcohol withdrawal, muscle spasms, and various types of seizures. Valium is a strong and potent prescription drug that is used to treat twitches, anxiety, seizures, and alcohol withdrawal. It can also lower the risk of alcohol withdrawal and help your nervous system relax and control your thoughts. Valium comes in a variety of forms, such as an injection, pill, and gel.