Xanax and Valium are the most common and effective in managing anxiety disorders, which belong to the benzodiazepine drug class. These drugs are not only helpful for anxiety but also treat other diseases, but only use them if prescribed to you. Which one is better for you depends on your specific condition, age, weight, and whether you are taking other drugs.