Rinse first, then use a dedicated wheel cleaner like Black Magic No Scrub All Wheel Cleaner (or Intense Foam for heavy dirt), agitating with a brush before a thorough rinse. Clean wheels before the rest of the car so runoff doesn’t dirty clean paint.