Thank you for your query.
There are a lot of reasons that can cause leg pain. The problem may be musculoskeletal, neurological, vascular, metabolic, hormonal
, idiopathic and so on. Even sedentary lifestyle with inappropriate leg positions can cause it.
Do bicycling and stretching exercises.
Through physical examinations and imaging are required for evaluation. Consult with a Rheumatologist
Hope, this helps.