After you file

IRS will not accept my e-file, so I have to cancel my direct deposit and paper file with a check.  How do I cancel the direct deposit?