How do I transfer my iPod Touch songs to my computer?

My computer recently had a virus, so the technician had to restart it.
Now, I connected my iPod and it says Erase or Transfer.
I keep transferring, but the library is still empty.