Welcome to our community! I'm glad you found us.
If you haven't yet, it would be helpful for you to start with reading through the thread at the top of the forum titled,"New to Lyme?...Start here!!", as it is packed full of important information, symptom lists, helpful links and pdf's, how to detox when one has these infections, information on probiotics and much more. And this is another good list of possible detoxing routines: www.tiredoflyme.com/detox-methods.html
Detoxing for us is an incredibly important part of our healing.
No matter what infection is causing your headache (Lyme and Babesia both cause massive headaches), there's no pain reliever that I have ever found that would help, unless it's quite minor.
Are you detoxing a lot? Most of us don't detox enough, and that can cause a lot of headaches, as well as other issues.
Chances are it's due to inflammation, from the way you are explaining it. Are you taking anything that's anti-inflammatory? I don't know if you are willing to use herbs, but turmeric is a really good anti-inflammatory herb and something that is generally safe for most people to take - although always check for interactions with anything else you are taking.
You can also try using heat and ice therapy to try to relieve at least some of the headache.