Injured Magpie

Found an injured Magpie in my back garden this evening, has had it's tail feathers ripped off from what i can tell. Have placed him/her in a large plastic container for now but not sure what to do after that. Any advice would be gratefully received. TIA