It is possible you just have whiplash, if you can't move your head or still painful after taking medication and using heat on your neck seek professional help. Give it a little more than a day or two. If the pain is unbearable see a doctor right away.