Question about gambling winnings

I got a cp2000 notice stating I owe 17K in gambling winnings tax for 2022

Now the issue is I was under the impression that if I am in a net loss for the year I didn’t need to pay all the taxes or any of it

I verified with win loss statements showing for the year from different casinos that I indeed lost a lot of money more than I won but I wasn’t aware that I needed to still report all winnings and do a itemized deduction ..I am thinking I will soon get a notice for the 2023 season as well as I did the same thing for last year (I.e. did not report any gambling winnings income as I was in a net loss last year )

What should I do now? Any help will be appreciated..can I still get out of paying these or it’s just too late