Putting peroxide on a wound is good to clean it with but not for actual care of the wound because it just dries it out. You can put neosporin or an ointment like it on the wound; if there is a hole put the neosporin in hole and completely fill it up. The ointment won't even hurt your hamster if it eats it.
I had two teddy bear hamsters who on occasion would get into fights and they both would end up with complete holes in them. The vet. Told me to squirt neosporin in the wound and it worked great. It took a while with me doing it everyday because they did eat some of it. It is harmless to you wonderfully pets and should work just fine for an infection because that what it is for. If you don't have that try an ointment like it that is an antibiotic ointment.
If it doesn't show some improvement within a few days call your vet. For other suggestions.
I had two teddy bear hamsters who on occasion would get into fights and they both would end up with complete holes in them. The vet. Told me to squirt neosporin in the wound and it worked great. It took a while with me doing it everyday because they did eat some of it. It is harmless to you wonderfully pets and should work just fine for an infection because that what it is for. If you don't have that try an ointment like it that is an antibiotic ointment.
If it doesn't show some improvement within a few days call your vet. For other suggestions.