If you had pain after ear cleaning then you can take some antibiotic like levofloxacin
. and pain killer and can put some antifungal ear dropd in your ears.
Pain can occur due to trauma by the procedure.it can be ear canal
trauma or drum trauma .
Consult your doctor and get an Otoscopy done so that the condition can be checked.