An occipital nerve block is an injection of a steroid or other medication around the greater and lesser occipital nerves that are located on the back of the head just above the neck area to relieve headaches and migraines