Most of the time the hash isn't successful, so you modify the block slightly and try again, over and over billions of times.
Question: What exactly gets modified over and over again? Is it the nonce that gets tweaked through every iteration? And is it correct to assume that for a fixed number of transactions that are added to a block, that there may not be a hash that works?