Do you hydrate with water well? could you try taking a multi vitamin or one a day with a blend of calcium & magnesium or even a complete B vitamin with these two included? Calcium & magnesium are used by the body for all muscle function one causes the muscle to contract the other relaxes the muscle they must be balanced or you can have other troubles. B vitamins also are involved with nerve function but shouldn't be taken on there own, there are other nutrients that complement their function so they are best as a complex suppliment.
for correct hydration 1 litre of water per day for every 20-25kg of body weight is a fair guide, if you have asthma or chest problems you should consume the wtaer in a steady fassion, not big glass fulls at once, the hydration will help your body function & may assist in relieving the temple pressure. If you drink caffeine drinks you should drink as much again in water to equalise the dehydrating effects of the caffeine!Or just don't drink caffeine but if that is the case wein yourself off of it slowly otherwise you might create a larger head ache.
Hope this helps, If not you should see a doctor anyway.