Since you had accident 3 years back which can leave some defects in the spine if the spine was involved, I would recommend a MRI scan to rule out any such defects.

Pain in the neck at your age is not acceptable if there is a long term postural defect.

You may have to rule out development of scoliosis or any structural deformity which could be causing such pain. Do get the scan done as such defects can compress the nerves and create lot more serious problems if left untreated.