You stated "the medication stops the pain while I am taking it, but doesn't clear up the problem". So it seems that the medication is working. It may simply need to be prescribed for a longer period of time to clear up your mild inner ear infection. If there is any drainage from your ear, a culture and sensitivity may be done. This would identify the germ that is causing the infection and the antibiotic that would fight it the best. Without being able to see your ear this is the advice that we can offer. An otolaryngologist or ear, nose, and throat (ENT) doctor would be the type of specialist to see for this type of problem.