You could use the third conditional for a contrary to fact past: I wouldn't have cared if I had gotten injured. Or a mixed conditional with contrary to fact pass and a hypothetical consequence in the present: "I wouldn't care if I had gotten injured." in spoken English, you could get away with using just the second conditional, with the same meaning as the above: I wouldn't care if I got injured.