It's very annoying to have a neckache, but still it happens to me every so many years. Maybe it's some kind of strange move I make without realizing, maybe it's the cold or the way I lie in my bed, I don't know. But it happens and it usually takes a long time before it's gone again. I don't take any medication I must say and I also do not do any special exercises, I just try to relax a bit and wait until it's over, which usually takes more than a week. It may be a good idea to try to figure out why I get it in the first place, so I could maybe prevent it the next time.