There are two principal reasons wars are won:
1. The side that lost ran out of supplies.
2. The side that lost said "the hell with this" and gave up.
Iran isn't going to say "the hell with this." They were attacked so they have plenty of reasons to stay in the fight, and they've got plenty of weapons in their inventory because...well, no one over there actually likes them. Iran also is pretty close to being completely self-sufficient in military hardware. You know all those F-14s the Shah bought, and that the US is so afraid of the Iranians getting American-made parts for them they shredded every F-14 that isn't currently in a museum to keep the Iranians from parting them out? Iran can make its own F-14 parts. Iran even makes jet engines, which is one of the hardest things for anyone to make. They also have naval shipyards that are making some very innovative vessels.
But that's not one of the six reasons. Over the history of land warfare, most wars have been won by the side that ran out of food last. Surrounding Iran are seven other nations: Turkmenistan, Afghanistan, Pakistan, Iraq, Türkiye, Armenia and Azerbaijan. Of the seven, only Türkiye wouldn't either provide humanitarian aid or allow Iran to transship supplies through their countries. Pakistan has three seaports through which supplies can be brought into the continent for shipping to Iran. (The most likely route is to ship freight into Pakistan, drive it up to Afghanistan and turn west.)
In the Army we had a phrase for when someone screwed up bad, "he stepped on his own dick." The only reason you can't say that about Trump's attack on Iran is Trump doesn't have enough of a dick to step on...other than that, yeah, that's what he did.