The pain happened to me as well. What alleviated the pain was rinsing out my ears with filtered water after draining the peroxide. No more pain for me.
Hydrogen Peroxide in Ears
WARNING!
Wanted to report an ear infection after using hydrogen peroxide in my ears. I can never recall having an ear infection but developed a nasty one after using hydrogen peroxide in my ears to cure a cold.