Warm or cold compress for headaches?

Why? Unless you have a local head injury, (goose-egg), see little utility to heat or cold. However, acute use cold, chronic use warmth. If you feel desire to treat headache with compress, likely to have more success if placed over back of skull, not over forehead, and perhaps here, cold might be best. Maybe see your doctor and find out why you have headache.