If there is tenderness on pressing the neck from outside, then this could be due to spinal nerve compression, inflamed sternocleidomastoid muscle as in TMJ, swollen lymph nodes if you can feel a mass, an abscess if you can feel a mass, a clot in the carotid artery or due to a muscle pull.
There is a chance that you have compression of the spinal nerves in the cervical spine region. This can happen due to overuse of computers, work involving straining of neck, herniated disc, canal stenosis, bone disease, spondylosis, poor posture etc. A MRI of the cervical spine and nerve conduction studies may be required. Please consult a neurologist. The treatment is to remove the compression. You have to discuss the best treatment option with a neurologist, which can range from medication to steroid injections to physiotherapy to traction, cervical collars or even surgery. Alternatively you can visit a chiropractor or a physical therapist and learn some exercises which you can do to relieve the compression, but consulting a neurologist is a must.
Use a hard bed to sleep. Avoid a pillow. Roll a towel and place it under your neck while sleeping on the back and between head and shoulder when lying on the side. Initially this will be uncomfortable but with time the acupressure will work. Use an analgesic cream or spray. Anti-inflammatory drugs help. Also, you must improve your posture while sitting and working. Take care!
The medical advice given should not be considered a substitute for medical care provided by a doctor who can examine you. The advice may not be completely correct for you as the doctor cannot examine you and does not know your complete medical history. Hence this reply to your post should only be considered as a guiding line and you must consult your doctor at the earliest for your medical problem.
The Content on this Site is presented in a summary fashion, and is intended to be used for educational and entertainment purposes only. It is not intended to be and should not be interpreted as medical advice or a diagnosis of any health or fitness problem, condition or disease; or a recommendation for a specific test, doctor, care provider, procedure, treatment plan, product, or course of action. MedHelp is not a medical or healthcare provider and your use of this Site does not create a doctor / patient relationship. We disclaim all responsibility for the professional qualifications and licensing of, and services provided by, any physician or other health providers posting on or otherwise referred to on this Site and/or any Third Party Site. Never disregard the medical advice of your physician or health professional, or delay in seeking such advice, because of something you read on this Site. We offer this Site AS IS and without any warranties. By using this Site you agree to the following Terms and Conditions. If you think you may have a medical emergency, call your physician or 911 immediately.