The refund goes back to the card you paid with. When it appears in your account depends on your bank and card issuer, and it may take several business days.
If the amount was only reserved (not charged), the hold is released instead. How long it takes for the bank to remove it varies.