Iran just needs honest leaders to come back like Ahmedi Nejad. The Shia-Sunni policy has isolated Iran further in the region and resulted in conflict with both traditional natural allies: Turkey and Pakistan.
The recipe for a way out of this situation is very easy.
Drop Armenia, drop India, drop Serbia, and fully embrace all Non-Arab Muslim neighboring countries (Turkey, Azerbaijan, Pakistan, Taliban.)
As for proxy wars in Syria and Yemen, establish a ceasefire with Saudi Arabia and spend the money which would be spend on weapons to aid those poor human souls suffering the thick of it.
Iran needs to be seen as a hero and a force for justice in the region. More importantly a defender of all Muslims (Sunnis too.)
The Syria fiasco has cost Iran much needed PR and support, similar to how KSA lost face from Yemen and Qatar issues.
A lot of missed opportunities have passed Iranians by.
Ignoring obvious blunders in Afghanistan, Iraq, and Syria.
When India trespassed over Pakistan to Balakot, Iran should have been Pakistan’s most vocal supporter. India should never have been welcomed into Chahbahar, and you can’t show more disrespect to your neighbor than what Soleimani did.
Pakistanis are understandably furious at Iran.
As for Turkey, Iran should be very careful about the PKK and should curtail it in any way possible with influence in Syria and Iraq.
It’s not too late to do right with your neighbors and allies.