What the term tells you
Identify the unit of analysis and how each group measure was constructed. Check whether the exposure and outcome refer to the same population and time period, and consider other group differences that may explain the pattern. Keep conclusions at the group level unless separate individual-level evidence supports a person-level claim.
Identify the group and the definitions of its aggregate exposure and outcome. An ecological fallacy occurs when those group data are used to draw unjustified conclusions about individuals.
Illustrative example. Regions with greater clinic density have higher vaccination coverage. The aggregate comparison does not show which people went to those clinics.