If you have federal tax due you can pay by mailing your payment with the 1040V voucher, (which has the address printed on it, having the payment taken out of a designated bank account, or you can pay directly on the IRS website.
https://ttlc.intuit.com/community/tax-payments/help/how-can-i-pay-my-federal-taxes/00/26212
To apply for a payment plan with the IRS
Apply Online for a Payment Plan
You must pay your state tax due using the state’s preferred method of receiving payment. For most states that will be by making a payment to the state’s own tax website, or by mailing a check or money order.
https://ttlc.intuit.com/questions/1901670-how-do-i-contact-my-state-department-of-revenue