If the paypal payment was funded with a credit or debit card the refund automatically goes back to that account and can take several days.

If the payment was with paypal funds or from a bank account the refund will be in your paypal account.

If it was an e-cheque it may not come back to you until it has cleared to the seller which can be a week or so.