Thanks for posting your query to HCM.
According to your problem you accidentally poured Hydrogen peroxide
on a deep wound.
Now to tell you regarding your problem that it is not at all a serious affair. Rather sometimes we use hydrogen peroxide as a part of treatment in some deep wound. The bubbles coming out of the wound is a good sign of wound healing
which shows presence of fresh blood and less infectivity of the wound.
So you need not to do anything from your side and take care next time.
Hope these informations are helpful.
"Wish you good health"
Dr Sanjay Kumar Kanodia