You can simply cancel the invoice if you've accidentally sent an invoice or quote to the wrong person. The recipient will receive an email explaining the cancellation. The payment link they initially received will no longer work, and any reminders you may have set for the invoice will be removed.
However, it's important to note that whilst the invoice can be cancelled, the initial email they would have received, containing a PDF of the invoice and any information you attached, cannot be unsent. So you should consider if the initial email may have included any sensitive information that may have been meant for someone else.