Detail evaluation is necessary for this matter.
It could me muscular spasm with trigger points. Also there could be some nerve compression.
Next Steps
visit a physiotherapist so that it can be evaluated in detail.
Health Tips
till than u can apply ice on painful areas. also stretch ur neck muscles and ur leg muscles but see to it symptoms does not get aggravated.