Welcome to HCM,
From your history it seems that you might have impacted ear wax
with some infection.
Consult your doctor and get your ear examined.
If wax is present,he will remove the wax and if infection is associated then one course of medicine will cure or problem.
Ok and bye.