Infection data is collected through various methods such as patient records, laboratory reports, and surveillance systems. Nurses play a key role in collecting this data by documenting patient symptoms, conducting assessments, and reporting any signs of infection. Advanced technologies like electronic health records (EHRs) also facilitate the efficient collection and analysis of infection data.