A method of regulating uterine contractions comprises suppressing a nocturnal endogenous melatonin level of a pregnant female experiencing uterine contractions at night by exposing the pregnant female during nighttime to a light source emitting blue light. The light source may be a headset. The contractions may be measured while the female is exposed to the blue light.