Phototherapy is safe, effective, and not painful or uncomfortable for your baby. Though it's commonly done in hospital, sometimes your child can undergo treatment at home. You can inquire at your hospital to determine whether this is possible.