First, examine the leg. Then, if you find nothing wrong, it's just pain in the muscle. Leave it alone (if you find nothing,) and if he/she keeps limping for two more days, immediately wrap the leg,...
the dog bit your dog.
There are several possibilities. It could be a bite, but could also be a pulled muscle, a pulled or torn ligament, a displacement, or something as simple as a foreign object...