How do I tell if it gets infected? What do I do if it does?
Infected will become much hotter than the rest of the bird (under the feathers/wings) and swollen. If it's really bad and they can't fight it off on their own, it will take antibiotics.
If you don't have a vet, perhaps a subcutaneous injection of a combibiotic or similar for a few days.