I tried lots of things and all contributed but the biggest one was moving. I know it sounds simple, but what was aggravating my neck was sitting still in the same position for extended periods. Even the physio said that moving is more important than good posture.
I also found the exercises that stretched my ham strings too e.g. yoga moves like downward dog and forward bend, helped loosen up my whole back and therefore my neck too.
I also did nhs physio (self referred). That was helpful. I think some of the exercises were pretty generic and not necessarily best for my neck, but it helped me learn about what works for me. She also told me that I would probably have the issue forever and to get used to certain things that I wouldn’t be able to do. But don’t be disheartened, it’s been nearly a year now and it’s way better and not as life changing as it felt at peak pain!
I got a fancy chair from work, and shorter key board (one without the number pad) so I wasn’t stretching for the mouse.
I also tried a few pillows: Original Curve was really good at first but was too thick for me (I used it for a few weeks; make me an offer if you’re interested and I can post it). A Panda pillow: also very comfy but too thick - I have really narrow shoulders. But I found a different one that comes in different thickness…. It was £80 but it’s great! I can’t remember the brand, but if you’re interested tag me and I’ll check.
Lastly, try not to feel sad. It really got me down when it was at its worst. It felt really limiting. I had to take time off work, couldn’t play properly with the kids. Naproxen helped. But I felt really down (especially because the physio basically said “get used to it”). I’m mid 40s too so it just made me feel really old. But… BUT…. It did get better!!! I do get twinges now and again but I always know why, eg lifting a really heavy thing, but usually it’s not moving if I’ve had a particularly busy time at work.
Good luck and chin up, and chin down, and up again!!