You need to take this dog to the vet. Full stop. If the puppy actually has HOD he needs medical care, pronto. He is in pain. But please don't trust Dr Google for something like this. Please take the puppy to a veterinarian.
"So that others may live"