hi
the first line of treatment should be relative rest,use of collar if needed.if traction is relieving pain try it out.ones the spasm is settled.try deep neck flexor strengthening which is the core muscle of neck.passive physiologic movement can follow then within the painfree range.
postural correction,stretching if needed