aww, poor thing

As was mentioned above I think the best thing to do is put them somewhere dark, quiet & warm so they can get over the shock. I usually put them in a cardboard box (with ventilation holes!) with some nesting material in the bedroom & close all the curtains. Sometimes, they are concussed for half an hour or so & will get up & want to be off so keep an eye on them!
Birds with a broken wing I've taken to the local vet or nearby rspca/ wildlife centre.