Out of gas error

I did the initial confirmation with payment for gas on the OpenSea platform. I set the commission manually and confirmed the payment. It took $ 66 ~, the transaction failed and the funds were not returned to the wallet. What should I do?