If you mailed the check for the incorrect amount, you can contact IRS e-file payment services at 1-888-353-4537 for assistance with your federal tax payment.
Follow the instructions below to contact your State Department of Revenue regarding a state tax payment:
https://ttlc.intuit.com/replies/3302452