You really can't at that point. You'd just be showing them that if they bring out the nuclear weapons, everyone else will just fold.
Say Putin nukes Ukraine (or fires a "demonstration" shot). If NATO stood down and just abandoned Ukraine as a response, or had them do appeasement style relinquishment of territory, or lifted sanctions, what stops Putin from pulling the nukes out the next time he wants something?