the most common cause of pain in neck is the problem with cervical spine and in young people it is invariably because of bad posture. it is hard to accept but it is the truth, unless the posture is corrected the neck keeps hurting. you need to consult orthopaedician or neurosurgeon and get an MRI done for the spine to know what exactly has happened in the neck to cause you the pain.