I've had that problem too. Pain meds help. What I've been told is that the soft tissue at the base of your skull and neck are very attractive to the Lyme bugs. My pain is in my neck now. I wear a neck brace when on the computer. I have another neck support pillow I wear when driving, watching TV and sleeping. I did get lidocaine shots in my neck near the base of my skull. It did not help that much.
Try some neck support and see if that helps.
Wish I had better answers.