If the pain has been present for more than a couple of days, or if there is pain upon swallowing, you should see your doctor. You may be developing a throat infection and it's better to get antibbiotics sooner than later if that's the case.
Throat and neck pain probably does not require a doctor's attention unless it is severe and/or debilitating. Chances are the pain is just a result of a cold, a strain, or a mild infection, like the flu.