If the dog cries and then gets attention, i.e. going down to him, then he will keep doing it. If he is in pain, get pain meds from the vet. Otherwise just ignore him at all costs and he will learn that whining doesn't equal human interaction. Even if he is in pain, there really isn't much you...