The symptoms you are describing are of otitis externa
which is inflammation of the external ear. The discharge can be because of this inflammation only or there can be superimposed fungal infection
in the external auditory canal. Please use a combination of antibiotic, antifungal and local anaesthetic
drops along with oral ciprofloxacin
and analgesics. Do not clean ear your self and visit your ENT if problem persists. Regards.