If it's just some guy with an X-mart bike, he's probably not that far from home, has normal shoes and can hoof it. If it's a roadie and he's on a ride without tools and spares, then he doesn't deserve my time (ride prepared or don't ride).
I will usually ask if everything's okay as I pass, but I will almost never stop.