Many online casinos only accept MasterCard deposits, you should always check if withdrawals are possible. Ask support, see the information in the Cashier section or in the terms and conditions. But in any case, you should know this before making a deposit. If withdrawals in the same way are not possible, make sure the operator offers alternative methods that suit you.