Get to see a doctor because reoccuring headaches can be anything and everything. In almost all cases its psychological, caused by stress, or its migrane, that you would have to live with the one or the other way (medication helps, but ask the doctor what medication). In very, very, very rare cases it could be something more serious (very, very rare).
Get to a doctor. Very likely he will subscribe medication. If that doesnt help ask for an MRI (Magnetic Resonance Imagery) to be made (just to be on the safe side).
However, forgett all those housewife yellowpress paper tips. Wont help.
PS: Oh, and if it is that often that you get headache, then dont get frustrated by seeing many doctors over many years. Take it easy and have patience. Headache patients often run from one doctor to another and back again.