It usually occurs when the neck is bent forward, but lasts only a moment. It then disappears whether or not the neck is straightened. Occasionally it remains as long as the neck is bent. Although it almost always comes from a plaque in the Cervical Spinal Cord, it can affect the lower extremeties as well. Like most MS symptoms it comes and goes on its own without treatment, and has no special significance for prognosis.
Infections cause pain.
Pain is one of the body's normal warning signals and should be carefully investigated. If you have pain when urinating look for a bladder infection. Get an accurate diagnosis. When you develop a new pain examine yourself to determine if you need professional help. Sometimes it is better to call when you don't need help rather than not call when you really do.