Reverse the check under check reconciliation, and post the reversal. Unless you want to reissue the check to the same vendor (first changing the vendor name), you will then want to enter a credit note to remove the invoice(s).
Now you are back to square one. Enter the check correctly.
Steve