Section 108(3) of the Criminal Law (Codification and Reform) Act uses peremptory language that makes it mandatory for courts sentencing an accused convicted of exposing an infant to consider the pressure or stress suffered by the accused arising from childbirth, including effects on social, financial or marital situation, difficulties in caring for the infant, inexperience or incapacity, and any other relevant circumstances. Failure to canvass these mandatory considerations constitutes a serious misdirection. A court must establish these circumstances either by questioning the accused in mitigation or referring the accused to a social worker for assessment, and where resources permit, obtaining medical reports. Sentencing based on conjecture or assumptions about medical conditions without evidence is impermissible. Adequate pre-sentencing information is essential to arrive at a just sentence that fits both the offender and the offense.