Sometimes it stuck due to less gas fee(GWEI). You can easily speedup or cancel your pending transaction.
TrustWallet User:-
There is no option for speedup & cancellation.
In this case follow these steps;
(1) Find the transaction "nonce" number on trust wallet or Etherscan.
(2) Then create a new transaction in which you have to follow few things.
(3) To cancel, Set receiver address = your own wallet address, Set the amount to 0, then click on setting and change the nonce number to the previous nonce number of pending transaction and proceed the transaction. Then you can again create a transaction with higher gas fee to prevent failure.
Metamask User:-
It's very simple process for Metamask user.
Just click on the transaction which is pending then there will be 2 options for speedup or cancel. You can do it from there directly.
I hope my answer will help you and others who don't know about this