Pediatrician offers advice on keeping trick-or-treaters safe