Yes. A dog might stop eating when in pain. If your dog won’t eat anything, observe their behaviour and examine their body. If your dog hasn’t eaten anything for over 24 hours, you should visit a veterinarian.