A hearing test is typically done in newborns before they leave the hospital. This is part of the universal newborn hearing screening (UNHS) program. The goal of the program is to catch hearing problems as early as possible.