I’m with Junkyard on this.
You should think less about nuclear weapons being weapons and more about them being political tools.
It is why we still have them, they need a massive investment to build and fine tune and yet if you use them you have already lost.
However you can use them without ever firing them like so;
As a threat so you are not invaded,
A threat so that the country you are fighting does not use their chemical or nuclear weapons,
or
You can use them as bargaining chips to encourage others to reduce their stockpile e.g. we will de-target our missiles if you scrap some of yours etc.
The North Koreans might be crazy but even they know that they would lose everything if they used even a single nuke in anger.
I’d be more concerned about the nukes Pakistan has and the fact its most likely opponent is a larger country that would ‘win’ in a last man standing kind of nuclear exchange.