Answer
When a new good is sold, the money from that transaction is counted in that year's GDP.
Work Step by Step
Counting the value of used goods into GDP would be double counting the value over time, which would make GDP a less informative measure of economic well-being.