If your old dog smells bad, take him to the vet for an examination.
Stinking isn't a natural part of canine aging, but might be related to ailments common in geriatric dogs, including kidney or dental disease.
If he reeks due to flatulence, he might have gastrointestinal problems or require dietary changes.