The nerves of the entire body meet at the spine. You probably injured or strained your back by a nerve and the pain in your leg is a result of that. Usually, it works on opposite sides. If you injured the left side of your back, pain may be felt in your right arm or leg. A chiropractor will be able to tell you what it is. Do 20 min of ice, 20 min of heat and try to relax.