Transaction failure causes money to get stuck on the chain

I made a transaction. The first withdrawal from the wallet was successful, but the second transaction failed. As a result, I did not receive the money on the chain. How should I solve this situation?

What withdrawal, of what, from where, using what? We need more details