Valium is used for anxiety and problems sleeping (insomnia). Muscle spasms (cramps) such as those ca…