Pain in the ear can occur because of various reasons such as eustachian tube dysfunction, acute otitis externa, acute otitis media etc. Treatment depends on diagnosis. There no one medication which can take care of all ear problems
Next Steps
Consult nearby ENT specialist for confirmation of diagnosis and appropriate treatment if required