Initialize all weights to small random numbers.
Until satisfied, Do For each training example, Do Input the training example to the network and compute the network outputs
For each output unit
For each hidden unit
Update each network weight