Put warm water into the dirty pan or cookie sheet, lay the dryer sheet (or sheets) flat in the water and leave it to sit overnight. In the morning, the baked-on stuff will either have lifted off, or will be very easy to slough off with a spatula or other flat object.