This idiomatic expression can describe any kind of movement, but is especially linked to running. A scalded dog would be moving as quickly as it was capable of doing, and it would be motivated by pain and fear - that combination makes for some serious speed.

When the bandit saw the police coming, he ran faster than a scalded dog.