Try some massage oil like castor oil before going to sleep. Check the possibility of migraine with a doctor and make sure your blood pressure is within limits.
explain more. what kind of headache do you have. whats the location, how the headache feels, does it shoot somewhere. how long episode last. explain as much as possible regarding your headache