Your question is too general to answer. Leg discomfort or pain can be a sign of serious and or correctable disease states such as arterial disease or neurologic disease.
It can more simply be due to one of several forms of arthritis
. You should seek an appointment with your primary care physician to review your symptoms and guide your care.