You use tactical nuclear weapons, as was planned by NATO in case of attack of Warsaw Pact tanks through Fulda Gap
https://en.wikipedia.org/wiki/Fulda_Gap
In reality this escalates very fast into all out nuclear war. Which is why you don't see wars between two nuclear armed countries. There is no winner in a nuclear war.