Now in my 70's, I've dealt with ear issues since I was a kid. I've had I don't know how many operations, and a whole lot of ear aches.
A few times, the affected ear took me to the deaf category, after the drum ruptured (I heard a literal explosion (okay, it was a pop) as the ear drum burst, which, interestingly, brought immediate relief).
Anything I did hear in that ear reminded me of my antique cylinder phonograph, with the megaphone removed. All words sounded tinny and far away.
All that aside, the years taught me the one, FIRST, guaranteed cure is, avoidance. Others mentioned this and that, but I know, first hand, the most important thing is, CAUTION, when you have a stuffy nose and blow it. When you do, you push all that nasty stuff up that freeway from your nose to ear, and cause a 100 car pile up the DOT would be hard-pressed to handle.
Once, about 20 years back, I tried the advice of a friend. It was for treating swimmer's ear. I THINK it involved alcohol and vinegar. One drop, and it felt like someone slapped me upside the head with a sledgehammer. Put that one on my HELL NO list.
Interestingly, in years since, I've had good luck with drops that incorporated acetic acid (back to that vinegar thing).
One thing helped in many cases. It was just good old-fashioned sweet oil (olive oil). Go figure. "Experts" warn against it. Ramble it could hurt the hear and cause the small ear farm to grow. All I know is, it, with some cotton, stopped the pain.
On a couple occasions, a heating pad helped drainage when there was a lot of pressure.
Now, I am curious about DMSO. It has been used for a lot of cases of congestion and head infections. It can have iodine, a great antibacterial in its own right and, added, or even zinc. When used with DMSO, which, by itself, renders tiny critters unable to reproduce, has a lot of potential.
_____________________________________
https://pmc.ncbi.nlm.nih.gov/articles/PMC7245270/