I've suffered from ear infections since I was a little girl. Before Christmas in 2014 I had the worst ear infection of my life. It turned out that I had both a fungal infection and a bacterial infection. I was prescribed different antibiotics for each infection and I had my ear 'hoovered out'. It took about a month to recover. I alternated codeine and ibuprofen every four hours and then eventually swapped the codeine for paracetamol. The pain wasn't always completely under control, but it was bearable and I could get some sleep. Fortunately I am at home and could also nap in the day to make up for poor sleep.
The bacterial infection probably came from using oil before having my ears syringed. The first time attempt at syringing did not clear out enough wax, so the nurse told me to use the oil for another week and then she'd try again. It was during that week the pain started. Nobody had any explanation for how I got the fungal infection at the same time.
Since then I have worn swimming ear plugs religiously when I wash my hair. I still get blocked ears (got one now!), but never had pain again.
My GP recommended good old fashioned steam inhalation to help clear my eustachian tube. Apparently it helps calm inflammation and allows any fluid trapped next to the ear drum to drain. I have an inhalation mug and stir a tea spoon of Vick in the water.
Best of luck. 