Hydrogen peroxide (H2O2) turns into water (H2O) and oxygen (O2) within seconds, so probably has little, if any, effect when added to a tank. It might be effective if you take the fish out of water and pour peroxide directly onto a wound. Otherwise, the oxygen bubbles are just for show.