The answer depends on the order of first aid: first deal with what threatens life right now. Once the scene is safe, the first thing is to check whether the person responds and is breathing normally. Everything else depends on this: if they do not respond and are not breathing normally, they need an ambulance and CPR, and the leg can wait. If they are breathing, next look for heavy bleeding and stop it. Only after that do you immobilize the leg