The aim of an occipital nerve block is to numb the occipital nerves. This will help lessen or stop pain if the pain is caused by inflammation and swelling of tissue around the nerves.