UNAIDS employs a variety of methods to collect data, including surveillance systems, surveys, and estimates based on mathematical models. They work in collaboration with national governments, healthcare providers, and other stakeholders to ensure the accuracy and reliability of the data. This collaborative approach helps in providing a comprehensive picture of the epidemic.