Could you help me gas error

what do you mean with a stuck transaction? you should be able to reuse the nonce from that stuck transaction if it is waiting to be mined for a long time