Hey,
Sorry to know about your leg! soreness of leg can be due to muscle strain, tendinitis or may be dehydration. You should apply some anti inflammatory ointment and massage gently over the affected area and take rest for few days. If not relieved then you should see a Orthopedician to look for any other causes.
Health Tips
Keep good hydration and take rest.
Hope this might of some help to you.