I won $6000 gambling but I spend $8000 that same year. Are the losses I enter $2000 or $8000?

Under wins I entered $6000 but when asked about losses do I enter $2000 or $8000 since I won $6000?