To stop your dog from whimpering and crying, you need to understand what is triggering the behavior. Once that has been established, you can implement environmental changes or seek the help of a veterinarian to change whatever's bothering Fido.
Ruling Out Health Issues
Before you do anything else, have their veterinarian rule out any medical conditions that may be prompting the dog to whimper or cry in response to discomfort. For example, your dog might be whimpering as a response to pain from an injury or a chronic underlying health issue. Your vet can conduct a general examination, blood tests or X-rays to rule out any medical problems.
Reasons for Whimpering and Crying
Once medical problems have been ruled out, observe the pattern of your dog's whimpering and crying behavior to determine when and in what setting or situation he vocalizes. This will help determine the best way to train your dog to stop. For example, you might discover that your dog whimpers when he's left alone, travels in a car or gets locked in a crate. Your dog also might cry to indicate anxiety or stress or to demand attention and express frustration.
The techniques used to stop the whimpering depend on what's causing the whimpering. For example, if the crying is meant to get your attention, ignore it. Responding to the whimpering will serve as a reinforcement. Reward him with attention only after he's remained calm and quiet for a few minutes.
Bring in a Professional
If your dog's whimpering and crying are the result of stress or anxiety, you might need the help of an animal behaviorist or trainer. A veterinarian can help with anti-anxiety medications if nothing else seems to help. Keep in mind that drugs can have side effects. Discuss potential downsides with your vet.