Epidemiologists collect ethnicity data through surveys, medical records, and census data. It's important to use standardized categories to ensure consistency and comparability. Self-reporting is commonly used, though it's important to be mindful of the limitations and potential biases.