By measuring the basal temperature