After you file

if we owe money to the IRS, should the payment method be check ? or can it be done online as well?