The serum bilirubin test is commonly performed within the first 24 to 48 hours after birth. It may be repeated if the newborn shows signs of jaundice or if initial levels were high. Factors such as prematurity, blood type incompatibility, and family history of jaundice can also necessitate additional testing.