Well, such people should have the decency to remove themselves from the community. If they refuse to do that, then measures have to be taken to safeguard the community from them. Then comes the practical question. Burning would probably work, but maybe using incinerators for their obvious benefits. And public executions by fire on the town square have always had both drawbacks and benefits.
Mask-refusers need to be dealt with decisively, though, obviously. Remember when some people didn't take the Covid vaccines and then ended up causing a giant catastrophe? They weren't dealt with quickly enough. That's why basically most of the world's population perished as a result and we are now living in post-apocalyptic times. Chomsky had it right:
I wonder why we are still so ineffective at policing people's thoughts, though. There lies the real problem. Maybe in the future, we can install a mechanism in babies' brains that guarantees that they only think thoughts that have been pre-approved by the Party. That's actually one way we can really solve a lot of these problems. We could dramatically reduce the number of executions needed as well. I mean, sure, places like Chong Ek in Cambodia etc have been incredibly useful in dealing with dissidents, but if we can better control people's thoughts from the beginning, those mass graves will take much longer before they're filled up.