Hi welcome to Health care magic forum,
Pain in ear called otalgia . It could be due to external otitis
or a referred otalgia.
or otomycosis unlikly to cause pain but secondary infection cause external ottitis.
Referred otalgia may origin from Temporal mandibular joint, cervical spine
or oropharyngeal area.
You continue the medication prescribed by your doctor for a week and if doesn't subside then see an ENT specialist
for further investigation.