Diagnosis and treatment of early infection