An occipital nerve block may also treat tension and migraine headaches that happen across the top of the head.