After you file

If you itemized your deductions in 2017 then the 2017 state tax refund is added as income on the 2018 Form 1040 Schedule 1 Line 10, it is not entered on Schedule A.