You should notify your bank promptly so they can investigate the error. Before you call, take a look at your deposit account agreement for policies specific to your bank and your account.
Encoding errors are generally handled by adjustments sent between banks. Encoding involves the computer-readable codes that are applied to the bottom of checks to facilitate their processing.
Keep in mind that the time period for prompt notification regarding a suspected error may vary by bank and by state.