Phototherapy is indicated when the levels of bilirubin in a newborn's blood are higher than what is considered safe. The decision to initiate phototherapy depends on the baby's age in hours, the level of bilirubin, and the presence of any risk factors such as prematurity or hemolytic disease. Pediatricians use a bilirubin nomogram to determine when phototherapy is necessary.