The treatment depends on the underlying causes, which can be determined by evaluating the symptoms. Sometimes, the pain can be accompanied by symptoms, like itching, redness, swelling or inflammation, and the discharge of white or yellow pus from the ear. If ear discharge is present, then it can be a sign of infection.