If you have accidentally mailed a check to the wrong person or in the wrong amount, you can attempt to cancel it before it is cashed or deposited. Some banks allow you to do this online or via their mobile apps, but you can also call your bank or visit a branch in person to issue a stop payment order.
A stop payment typically comes with a fee. You should also warn the payee that you have issued a stop payment.