ice and heat can be used to lessen the pain of headaches. in general, most sufferers with migraine headache prefer cold packs. sufferers with tension-type or muscle contraction headaches may prefer warm packs.