Stains that won’t come out

Q: I just sanded an old oak floor. There was old carpet over it. It was very filthy. I sanded with 20 and 36 grit, but there are stains in the wood that won’t come out.

How can I get rid of them?

A: You will probably have to change the boards.