If u had similar episodes of ear discharge earlier,then there is a possibility of a perforated ear drum. If not, any infection of the ear canal or even fluid accumulation in the middle ear due to cold can cause your symptoms.
Next Steps
consult your nearest ENT specialist