This is a great question. It is very important that you make an appointment with your primary care doctor or neurologist
who is aware of your past medical history and can do an appropriate evaluation and examination and give you the best course of treatment. It is important that you have a doctor that you are comfortable opening up to and feel comfortable with. Chronic pain is very difficult to deal with, not only physically, but mentally. Oftentimes, it can lead to mental health problems such as anxiety and depression. So depending on what your physician uncovers during your exam, he or she may recommend a referral to a psychologist
for further treatment. I would also recommend asking your physician about a referral to pain management. There are many new treatments for chronic headaches that these doctors could help you with. You are correct in that being on opioid medication for such a long period of time is not good for your health so it is important that you discuss with your doctor a means to wean off of these addicting medications over time. This can be done in the hospital depending on the extent of your addiction or sometimes as an outpatient. Again, it is very important that you make an appointment as soon as possible to discuss your chronic headaches with your doctor.