Get Answers to Bird Care Questions. Ask a Bird Specialist.
Of course he needs to be seen by a veterinarian as he may need his leg bandaged and will definitely benefit from pain medications and antibiotics if there is an open wound, however until your vet is open you can keep him in a small box so that he does not jump around and injure himself any further. Keep him warm by placing the box on a heating pad (but only halfway so that he can move away from the heat if is too hot for him) and keep him in a quiet dark room to keep the stress down. Offer him some water in a small bowl but do not leave it in the box as he can spill it.
Unfortunately, there are no over the counter human medication that birds can take for pain so he will have to be prescribed something by a veterinarian. Meloxicam can be used orally (and injectably) in birds and buprenrphine can also be used as an injection that your vet can give.
Does this help to address your concerns with your bird tonight?