Within MetaMask you can reset your metamask account to get rid of any stuck transactions or errors related to nonce.
Settings > Advanced > Reset Account
This really just clears the MetaMask cache so it shouldn't affect access to your wallet...but it's always a wise idea to have your seed phrase backed up just in case.