Definitely take him to the vet. He may have developed arthritis, especially at his age. Also he could have hurt his leg, or been stepped on it could be sore. He really does need to see a vet. If it is arthritis you want to catch it as soon as possible so you can begin treatment.