Backpropagation sends the error at the output back through the network, nudging millions of weights slightly in the direction that reduces it. Repeat billions of times.