Did you fall and/or hit your head recently? What sports/athletics do you take part in?
Pain at the base of the skull could be from many different things. Significant stuff can include fractures, disc issues, etc. Less significant stuff can include offset vertebrae, muscle spasm, etc which can be fixed by a good manual therapist (MET, strain counterstrain, fascial work, etc).