Its nothing, you've pulled a muscle or ligiament in your neck. It is painfull but should work itself out. Its often caused by lack of warmup or when you are doing a straining exercise and you turn your neck when doing it which stretches ur neck muscles even more causing the injury. Other causes can be simply sleeping weird in your sleep, but this often gives u a constant stiff neck. Probably the 1st explanation.