I suggest you to do icing (cold pack ) in every 2 hours on the painfully area.
Support your neck while sleeping/sitting. Use soft cervical pillow.
Next Steps
Consult a qualified physiotherapist in your area. Take treatment for a week.
Health Tips
No forward bending of neck.
No weight lifting
Take rest and posture correction