You need a cassette removal thingy. Plus a chainwhip to hold the cassette in place while you turn the lockring removal tool with a wrench.
Can be found cheap or expensive depending on which brand you chose.
I bought a cheap whip for about $10, works fine.
Some use an old piece of chain as a home made chain whip. I guess it's anything that holds the cassette still while you turn the removal tool.