From the interneurons, the response is relayed to the motor neurons which project out of the spinal cord to stimulate your muscles (effector) to contract, causing you to snatch your hand away from the hot pot. This pathway taken by nerve impulses to elicit a response is known as a 'reflex arc'.