According to your sign and symptom you are suffering from weakness and Pain in the leg muscles .
As you know that best treatment depend on the correct diagnosis and correct diagnosis depend on the complete history of the patient so please take consultation from a doctor and give complete history of the patient to make correct diagnosis and then best treatment will be start.
You should follow good lifestyle like take sufficient amount of water and take less spicy and fatty food and do exercise regularly with yoga and meditation.
Next Steps
you should go some test as MRI of the leg with LS sound to know any abnormality in the nerve along with the leg and back area.
Health Tips
you should do some physiotherapy for your back with the leg.
keep positive attitude to fight any disease and any problem of your life.