I buy all my fish at the LFS nearest to me. I prefer to actually see the fish for myself before I hand over my $$$.
Observe it for at least 5-10 minutes. Does it have a fat belly or is it concave? If it's not fat, it's not happy. Pass on it.
Is it swimming around the tank picking at algae or other little bits of stuff? Another sign of a healthy, happy fish.
Does it seem to be scratching itself against rocks That is a sure sign of problems, perhaps flukes in the gills.
White stringy poop? Pass.
You will have to look closely, but check carefully for Ich. If it or any fish in the system it is in looks sick, assume they all are and pass.
Now that you've chosen a healthy (appearing) fish, take it home and QUARANTINE it!!! At a bare minimum, a couple weeks of observation before it goes into the DT. I generally do a round or two of Prazipro even if all else looks good during that time. If there is any indication whatsoever of any illness/parasite, treat appropriately so that your new addition dies not infect the entire tank.
hth!