The country's leaders should find ways to support their people and reduce the impact of this war on them. But I don't think it's right to put all the blame on them. This war and the disruption to oil supplies are beyond their control, and there aren't many solution they can implement immediately.
The blame lies entirely with those who started this war, and they are the ones who should take most of the responsibility for all of this. If the war hadn't happened, we wouldn't have to bear these additional burdens.
The only solution is to end the war.
I don't think ending the war will change anything. Especially when Iran is determined to charge a fee on the Strait of Hormuz (take tolls). The war could end right now, but with Iran charging a fee per passage, I don't see things going anywhere. It may be already too late. Oil prices will remain "stubborn" for quite a long time. This will be the new norm, unfortunately.
The plan would be to slowly transition away from oil by embracing alternative energy. In the case of vehicles, hybrid cars will lead the change until everyone transitions into fully electric cars. Materials such as plastic and rubber (mainly used for tires) will eventually be replaced by plant-based alternatives. We may be talking about 1-2 more decades before the world can safely move away from oil. In the meantime, we're stuck with it. Maybe countries will get tired of the persisting conflict in the Middle East, and decide to get involved? A global intervention might just be the solution...
Do you remember when they agreed to sign a MOU in mid-June, and oil prices at one point fell close to their pre war levels? As you can see, just one ceasefire was enough to bring oil prices almost back to normal. Is it too pessimistic to think that ending the war wouldn't change anything?
The modern global economy is deeply tied to oil. Reducing our dependence on it isn't something that can happen overnight. Easier said than done. If we could really reduce our dependence on oil that easily, major powers wouldn't be invading and killing each other over this black gold.