Vendor Refund Check

We overpaid a vendor,  They issued a refund check for the overpayment, What is the correct way to resolve this and record>?