Unless Ukraine wins, the war can't be stopped.
It's too far for Russia to surrender. If Russia surrenders now, it'll hurt the pride of Russia and Putin isn't doing that.
Sanctions don't work either, everyone just starves meanwhile Putin has fun in his palace in the woods, though if it gets bad enough there's a 50/50 chance he'll stop.