caffein does relieve most headaches to some extent. But, of course, it`s effect is weak when compared with real pain relieving medicines.
The wast majority of headaches are not caused by migraine, but are usually of the "tension neck" type.
Anybody suffering from bad, chronic headaches should see a doctor to make certain that it is not a warning sign of something more dangerous (it usually isn`t).
1000 mg acetaminophen is the safest and relatively effective drug choice for most bad headaches. The second choice would be some non-steroidal anti-imflammatory drug, for example 800 mg ibuprofein. (always remember to read and follow the drug`s safety instructions)
100 mg of caffein (1 tablet or 1 cup of coffee) may boost the pain-relieving effect of those drugs a bit, might be worth trying out.
If those dozes don`t help see a doctor...there are
very effective, although reletively expensive,prescription drugs for migraine type headaches.