You should consult a physiotherapist. Physiotherapy is the best treatment for musculoskeletal problem to get proper range as well as proper strength.
Next Steps
go for physitherapy..ultrasonic therapy for healing,tens for muscle relaxation and SWD therapy for reducing inflammation may required . take rest. then the exercises are to be done and very much important.
Health Tips
FOR NECK-at home ..avoid forward bending, no manual exertion, no prolonged travelling, no driving, no neck bending for long, no cold exposure,do hot water bottle fomentation +apply some pain killer gel.