Never use an open flame (propane torch, lighter, heat gun on high) on a drain pipe. PVC and ABS plastic pipes can melt or catch fire. Metal pipes can superheat and ignite surrounding wood.
A frozen drain pipe is a race against time. Stay calm, use gentle heat, and never use a torch. Fix it today, or you’ll be fixing a burst pipe tomorrow. how to fix a frozen drain pipe