Deductions & credits

Do I add my regular mortgage interest and heloc interest together? If I do this I will have a different amount from my 1098. My 1098 only shows interest for the first mortgage.