Valium Is long-lasting it belongs to a group of medications Valium is used to treat anxiety and alcohol withdrawal. It works by helping your nervous system calm down. is a benzodiazepine. It is also used to treat sleep problems. It is given to people to calm their nerves when they are very depressed. Valium available is 5mg and 10mg.