it may not be possible for NATO to stop Putin now, leave alone any earlier.
It's already difficult for Europe to unite on defense, then there is the issue of millions of Ukrainian refugees.
However in the longer term, the Russian people may just see that Putin won't win and decide to replace him.