You will not become sterile immediately after the operation, as you will still be producing sperm from the reservoir above the "cut". As soon as you feel comfortable, you should start ejaculating frequently in order to empty the reservoir which can take up to 16 weeks and sometimes longer. You will therefore need to take two sperm tests on the 16th and 18th week after the operation to conclusively determine that no more sperm is being produced.