Neonatal goggles are primarily used during phototherapy sessions for neonatal jaundice. They may also be employed in other situations where the infant is exposed to bright lights, such as during certain diagnostic procedures or surgeries. It is crucial to use these goggles whenever there is a risk of light-induced damage to the newborn's eyes.