An ice pack or ice face mask can also ease migraines. For a tension headache, try a hot pack or hot bath.