If you still owe the IRS for tax due on your 2017 return, your 2018 refund will automatically be offset to pay the tax you still owe. You do not have to enter anything about it on your 2018 return. The IRS will take care of it for you and send you a letter a few weeks later.