The thing is, in a battle between hyper offense and stall, it's either ho already won before the battle started or it loses outright to the stall team unless played carefully
So first is, once you see a stall team, you wanna press alt + f4 so that the frustration of losing to one is minimized
After you've done that, what you need to do is take your time. Remember, the turtle won the race, not the rabbit. During the team preview, identify which Pokemon is gonna wall your team and pressure it from the very beginning. For example, if you're team anchors on Zard X to clean up or wallbreak, get rid or pressure of the opposing Toxapex. If you're team relies on Volcarona, then the Blissey or Heatran. Ho only has a limited amount of turns to make something happen while stall basically has all the turns in the world
Alternatively, you can alter your ho team so it will not lose to stall no matter what. This is what I did to my own ho team by adding in a taunt Tapu Koko despite the possibility that it would end up being dead weight as losing to stall is stupid
If you are strictly playing ho, then the only thing you can really do is play your cards wisely. As I said earlier, you either completely destroy the stall team or it will stand before you like Trump's wall. However, since you asked how to beat stall in general, here are a few Pokemon that can defeat stall. This does not apply to one specific tier but rather, all tiers
Anyway, here are a few example Pokemon that stall would absolutely hate to face off
So first, in gen seven, there was a Pokemon introduced whose entire existence was tailor made to destroy stall, Tapu Fini. Literally everything that Tapu Fini can do is everything that stall hates. Status prevention, hazard removal, and above all, taunt. The best thing that stall can do against Fini is remove its leftovers but that doesn't save them as Fini only has to switch in and it has already greatly hindered the stall team via its terrain. This is especially true if Fini isn't the only defogger as that defogger can remove the hazards and ensure that knock off doesn't bother it. In gen eight, this is made even worse by Tapu Fini getting draining kiss. Yes it is walled by Toxapex but really, what is Pex gonna do to Fini in return? Knock off its item while Fini goes + 6 calm minds and slowly chips away at all the stall Pokemon's hp due to being unable to use a recovery move
Another Pokemon that ruins stall is Heatran, although this guy is a bit shaky against stall because of one thing, magma miss. Like Tapu Fini, Heatran also has taunt but it takes the infuriation against stall to a whole new level by trapping the walls. Unlike Tapu Fini however, it has to watch out for Mega Sableye in gen seven as Heatran cannot taunt it however, this is still a very powerful Pokemon against stall
These two Pokemon deserved special mention because they really mess with stall and they are both available in gen seven and eight. Really, any Pokemon that has access to taunt will annoy stall teams immensely. Gliscor, Tornadus Therian and many more are just among the list of Pokemon that stall hates
Also, there is always the good old brute force method to power thru stall's nonsense. Here are some special mentions that stall Pokemon absolutely hate
One of the best stall killers in generation seven has to be Mega Mawile. Really, this thing is almost impossible to switch into and getting a swords dance isn't that hard. By having play rough, thunder /fire fang or punch, can't remember which one it can learn, it almost single handedly destroys stall cores as Mega Sableye is never gonna live the play rough while it has the option to choose between destroying Skarmory or Toxapex. In fact, Mawile can even afford to drop swords dance and get full coverage with sucker punch, play rough and both moves I mentioned earlier to completely destroy anything stall tries to pull off
Kyurem Black is also another good example in gen seven due to z freeze shock. It will almost instantly kill one of stall's walls while bulky waters aren't gonna dream of facing Kyurem due to fusion bolt. Stall teams almost always has a Skarmory or Toxapex and these two Pokemon are just waiting to be slammed by Kyurem while a random Ferrothorn would drop to the z freeze shock. It's not as good as Mega Mawile but at least there's that
Specs Tapu Lele is also another Pokemon that stall greatly hates however, it does require some trapping assistance because of stall's ever present steel types. The reason specs Lele is good is because of psyshock. Blissey is never gonna dream of switching in safely into a psyshock while other physical walls hate psychic. Now, as mentioned, this does require trapping support, specifically Magnezone, so that Lele can mindlessly spam its psychic type stabs unhindered as dark types are gonna be afraid of moonblast
These same principles also apply in ubers, just play your cards carefully. In generation seven, dealing with stall is easier due to z crystal taking a huge chunk out of a wall and potentially allowing the next hit to straight up kill what walls you
All in all, there is no single best way to deal with stall. What you have to do is play it very carefully. Depending on which Pokemon are on the team, you usually just need to kill one wall to give your team an opening to power thru the rest of the stall team