Change the chain and cassette.
If the chain is worn, the cassette will also be worn. If you're tight on cash, do what the others say and change the chain and then if you require it, the cassette as well. But really, just nullify and potential grief in one go.
I'm not a mechanic.
I have 2006 Tiagra-kitted Allez. It's an 8 speed.