Counting barbels reveals a useful difference
Stone loach has six barbels, arranged in three pairs, whereas gudgeon has one pair. Body and fin shape should also be considered. A small anatomical feature can therefore be more useful than a general impression that two fish have similar size and colour.
Stone loachThree pairs of barbels
GudgeonOne pair of barbels
Barbels are small, but useful for telling these fish apart.