Get approved & connect with a lawyer of your choice!
They’ll make sure your current and new lenders are paid, leaving everything else up to you if you want the proceeds. For a HELOC, your lender may give cheques/debit cards to access available funds.