It is a stalemate at this point. Russia cannot occupy the country effectively and Ukraine cannot forcibly eject all Russian troops. Ukraine is winning the propaganda war, Russia is watching its economy collapse into nothing, and its nuclear saber rattling is the only thing keeping the entire world from pointing and laughing at it.
Russia failed Combat Logistics 101. Russia failed to secure air superiority. Russia failed to establish secure battlefield communications by destroying the networks required to run it. Russia went in with poorly trained, horribly motivated, and largely incompetent troops. Their antique gear was poorly maintained and not battle ready. Scared conscripts have abandoned useful gear that could be easily used against them by Ukrainian forces well versed in using it since it matches their own. This lack of discipline may also have allowed NATO to come into possession of Russia's most advanced ground based electronic warfare technology, a development that would set Russian air defenses back a full decade or more. Putin keeps sending top commanders into the theater only to have them come back in body bags thanks to snipers receiving great intel from unsecure communications. Russia's navy is even taking losses!
Russia can still do a lot of damage and inflict a great deal of pain, but they have proven themselves to be a paper bear. Decades of kleptocracy have stripped the Russian military of any real effectiveness and the threat of WMD is the only thing that keeps NATO from completely destroying them. With Ukraine getting better weapons and motivation daily, this will not end well for Mother Russia. They best get to the bargaining table.