User Activity

Do I cancel transaction first or refund money to a Buyer...or does the Cancellation of transaction automatically does a Refund..?