A trick my mother learned from her mother: when I had a bad ear infection she peeled an onion - so that you only keep the small nub inside the center of the onion; you then warm it to hot and then you gently push it in your ear (not TOO far) see below.
It contains anti biotic properties that will help, and the warmth helps as well.
I just googled this, and it is well known, although the current recommendation is to NOT put it inside your ear but rather to cover the ear with it!!!
(removed links to articles)