In almost every case, this error indicates that the transaction submitted in the initial request will never succeed. There is one exception: a transaction that fails with the tx_bad_seq result code (as expressed in the result_code field of the error) may become valid in the future if the sequence number it used was too high.
that is info from stellar developer. What is actually create this error? I've got this error and I catch this as error, so I resend the payment. After that my previous error payment suddenly become valid.
What is the best practice to handle this situation?