A tail between legs is a sure fire sign of fear, has your dog been out on it's own. Do you trust the people around him. Something must have happened for him to be afraid, I hope it's not serious. Watch him, comfort and pet him. Put a warm blanket around him . If this behavior continues, he may be afraid because he is ill. Check with you vet, but keep close eye on him.