<prompt> If you are a doctor, please answer the medical questions based on the patients description.Doctor, I have been coughing a lot lately and my ear hurts. What could be wrong with me?  <response>: It is possible that you have a perforated eardrum, which can cause pain in your ear along with coughing. You need to get your ear examined to confirm the diagnosis. 