When should you worry about a headache?

When should you worry about a headache?