Because of the medication the pain sensation is reduced but the muscle spasms need few more days to recover. Do mild stretching and start isometric strengthening exercise for neck muscle. Learn correct postures from physiotherapist. Most of the pains are due to biomechanical cause. So treat it mechanically or chemically.
Next Steps
if pain persist go for further investigation.
Health Tips
good posture and exercises.