If your Bitcoin transaction is still pending on the chain, it means that it wasn't picked up to a block yet and is waiting in the mempool. This can take some time, especially if the network is busy. Wait for a few hours. If the transaction is still pending, you can try to cancel it using a Replace by fee method.