Hello Dear and welcome
You need to take a complete rest including rest to your spine and neck. The injury might be soft tissue injury
or bony injury. Follow some instructions and if they help you continue with that otherwise go to the ER and get your X-ray c-spine done.
1. Restrict the movement of your neck. If possible wear cervical collar
2. Do Ice fermentation at the site.
3. Can take analgesic
and anti-inflammatory gel to reduce pain.
4. Apply local anti-inflammatory gel at the site and do not massage
5. Take complete bed rest
till the pain subsides.
6. Use hard bed to sleep and avoid pillow.
Hope this will help you. Consult your doctor if pain and other symptoms not subsides in 1-2 days.
Best Wishes and have a speedy recovery