do the rotafix technique backwards.
or with a spare length of chain, wrap the chain around the cog (wheel off the bike)
and clamp both ends in a table-mounted vice to hold it still. rotate the wheel to loosen it.
__________________

The first rule of flats is
You don't talk about flats!