I had the same problem, and after consulting my doctor, he advised me to buy a orthopedic neck pillow. There were a lot of variants on the Internet, but I ordered it here https://wypur.ie/p/contour-orthopedic-memory-foam-pillow-for-neck-pain/. I was pleasantly surprised when I slept on it. It is a really cool way to get rid of neck pain. After about a week the pain was completely gone and I think it was because of the pillow. So I would suggest you give it a try and see if it works for you. Good luck!