Block off pathways that are painful to feel

Does the brain “block off” pathways that are painful?