pain procedure step by step