Pinched nerves can happen when you keep your neck bent for a long time. It can also be due to arthritis in the neck and shoulders. Occipital neuralgia can cause pain and throbbing in your neck, in the back or on one side of your head, and behind the ear. Some people feel pain in the forehead or behind the eyes.