What is the best treatment for legs weakness?

Depends upon cause. Is you weakness a stamina issue due to de-conditioning? Or perhaps you have issues with muscle and/or nerve, or do you legs get weaker when walking or exercising? Under those circumstances, you need to see your doctor and uncover causation so all returns to normal.