Hello, i had gone through your question and understand your concerns as this complaint can be really frustrating.
Though I can say is these
headaches you are facing are getting better by
vomiting so there is a possibility of you being suffering from
migraine or gastric headaches.
In my clinic, when patient visits with such a complaint, i prefer telling them to
1. get their eyesight checked.
2. Improve lifestyle with proper sleeping hours, minimum 7 to 8 hrs.
3. Breathing exercises or
yoga can be helpful.
4. Alternative medicines such as Homoeopathy is very useful in such conditions.
5. Go for high fiber diet as the headaches can increase with oily or fried food, termed gastric headaches.
Post modifications, we can find suitable results in 2 to 3 months.
You can discuss with your treating doctor.
As painkillers are nlt helping you, you should get yourself checked thoroughly once.
Wish you good n healthy life ahead.