This procedure takes patience, gentleness, and understanding. These are serious injuries. This occurs when a bird flies into a wall or window. Provide warmth, keep from further injury and make sure food is available. If the condition doesn't improve within two to three hours, see a vet without delay.
Prevention is the key.
If a foreign object has been swallowed, withhold food and water because surgery may be required. Try to gently push the protrusion back into place. See a vet. This looks like a wet raspberry on the bird's vent. See a vet right away.