Thanks for posting your query.
From description pain and burning feeling over back of leg seems to be due to muscle spasm. It doesn't looks like serious. Apply muscle relaxant
gel to affected area . Do hot saline fomatation and rest well.
Hope this will helps you.
Wishing you good health
Dr Saurabh Gupta