If you're experiencing recent neck pain with swelling, apply ice packs for 20 minutes at a time, followed by a 2-hour break. This can help reduce inflammation. After the initial inflammation subsides, switching to heat therapy with a heating pad for 20 minutes can help relax tense muscles and improve stiffness.