On the really badly stuck ones, also disconnect the brake line and unbolt the wheel cylinder from the backing plate. Then the whole assembly, drum, shoes, wheel cylinder and all can be removed. The parking brake cable might be a little tricky, but it gives you room to work from inside the drum to free up rusty parts and/or apply penetrating oil.
Jerry