To safely thaw a frozen pipe, open faucets connected to the frozen line to relieve the pressure. Use a hairdryer, heat lamp, or hot towels wrapped around the pipe to gradually thaw the ice. Never use an open flame or electrical appliances near the pipe. If unsure, contact a professional plumber for assistance.