Aside from nerve entrapment, possible causes of numbness on your leg could be due to posture, lack of blood supply to an area, certain medications, lack of vit B12 and from certain medical conditions ( diabetes, migraines, thyroid problems, etc). It is important that the underlying cause of numbness should be identified and then treated. Have this evaluated further by your doctor for proper management. A complete medical history, physical and neurologic examinations and some tests may be done to help with the diagnosis and to rule out conditions mentioned.
Take care and keep us posted.