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.
**Disclaimer: Every effort has been made to offer the most correct information possible. The poster disclaims any legal responsibility for the accuracy of the information that is contained in this post.**