The harder and more decisive Russia wins in Ukraine the more likely they will both find it nessesary to join NATO.
Russia needs to make a strong statement that any attempts to further enlarge NATO, which includes bringing in Sweden and Finland will leave Russia with no other choice but to increase its number of active nuke warheads to 1990 level and continuously build up its arsenal to reach a minimum of 100,000 active warheads. Essentially just turn the entire world into a powder keg and periodically blackmail NATzO with nuclear annihilation. Also, add a clause in the Russian constitution that a USSR like breakup will require the Russian military to launch all their nukes on NATzO targets. Problem solved.