The correct way per QuickBooks involves setting up a new item, creating a credit memo, etc.
Easiest way is to create a journal entry. Debit account receivable for the amount of the returned check and include the customer in the name field. Credit your bank account. Receive the payment again and apply against the journal. Make a bank deposit.