<s>[INST] Hi had car accident truck hit use back side of car went to doctor had MRI they saw 10 hernia was cause. By the accidentit hurts taking pain pills my left leg hearts slot at night have truble sleeping cause my feet feels like I am gotng to. Have crammed on my feet have to be moving them until I go to sleep [/INST] Hello, The pain in the legs that you are having can be due to a muscle spasm or due to a nerve root compression due to a herniated disc. MRI scan can help in the proper diagnosis. Hope I have answered your query. Let me know if I can assist you further. Regards, Dr. Praveen Tayal, Orthopaedic Surgeon </s>