It is unlikely that healed perforation is related to pain around the ear. It might be a due acute otitis externa which is a common type of ear canal infection, other possibility is referred ear pain secondary to temporo Mandibular joint dysfunction. Treatment depends on diagnosis
Next Steps
Consult nearby ENT specialist for confirmation of diagnosis and appropriate treatment if required