One kind of medication that helps to balance out the chemicals in our brains is called Xanax, and it is used to treat anxiety, depression, and panic disorders. It is currently the most commonly prescribed anxiety medicine and is a member of the benzodiazepine class of medications.