The best treatment for earaches is olive oil, which works as a lubricant and helps get rid of ear infections. Put 3 or 4 drops of lukewarm olive oil into the ear canal. The oil will cause the wax to soften, which can then be removed with cotton swabs. Do not put the cotton swabs too far into the ear!
A mixture of half a cup of warm water with one teaspoon of well dissolved salt is a very easy way to keep the ears free from ear wax. Pour a few drops of saline water with a cotton ball dipped in this solution by tilting your head facing top. Stay in the same position so the ear wax gets soaked. Return to the original position of the head so the solution comes out.