Russia demonstrating weakness

With Russia demonstrating the weakness of their military will they turn to nuclear weapons quickly if attacked directly?