Should I enter losses on stocks I sold in 2017 and if so, how and where?

I sold  several stocks for a total loss of $5979