You can only cancel a pending transaction if it has not yet been added to a block. This can be confirmed by copying and pasting the transaction ID into its respective block explorer here:
Ethereum (ERC20): https://etherscan.io
Binance Smart Chain (BEP20): https://bscscan.com
If the transaction is viewable (or has 1 confirmation) in the block explorer, it has already been added to a block and cannot be cancelled or expedited.
To cancel, go to your wallet interface. These are instructions for three most commonly used types of wallets:
If you have sent a long queue of transactions, you may want to cancel or speed up the very first of them to avoid congestion.