If a steroid medication was also injected, it will decrease the swelling and reduce the pain over the next few days. This usually means the occipital nerve block will have a long-lasting effect.