After you file

It is deductible if the money was used to buy, build, or substantially improve your home.

For any money that was not used for that, that portion would not be deductible in 2018.