According to statistics, about 10% of the adult population suffers from neck pain at any given point in time and over 65% experience it once in their lifetime. The most common causes of neck pain are over-exercising, poor sleeping/sitting posture, sitting in the same position for too long, and high levels of stress. But there are ways to deal with it.
For recent/acute pain: apply an ice bag.
Place a bag of crushed ice for about 15 minutes on the part most affected. Cold bags are most effective for acute pain that involves swelling as it helps reduce blood flow by constricting blood vessels. Never apply ice directly, always put it in a bag as it prevents skin irritation and frostbite.
For chronic pain: use moist heat.
Heat small bags filled with rice or wheat in a microwave for about 2 minutes and apply it to the affected part. Keep it on for 15 minutes. For best results, use it in the morning after waking up and before exercising. Taking a warm bath can also help. For better results, you can add Epsom salt to the water. The magnesium in Epsom salt relaxes and soothes tight muscles and tendons.