You seem to be having an ear infection for which you need to go to an ENT specialist, get pus examined for culture & sensitivity and take Antibiotics accordingly
Next Steps
Consult the doctor suggested.
Health Tips
Keep the ear dry. Clean the discharge coming out of ear regularly. Treat allergy early