Both valium and alcohol are anti-anxiety drugs. The official line is not to take them together, because of the possibility of respiratory depression. While not recommended, 5 mg and a drink won't endanger your life.
They shouldn't be taken together, or even in the same day if you've taken one or the other already.