Dajia Brown cares for Brooklyn at their Somerville home. She credits a Boston Medical Center program for her progress.
CRAIG F. WALKER/GLOBE STAFF
Dajia Brown cares for Brooklyn at their Somerville home. She credits a Boston Medical Center program for her progress.

Last June, Dajia Brown embarked on a dangerous phase of life — so dangerous that many in her situation do not survive.

It started when she gave birth to her daughter, Brooklyn, several months after entering treatment for addiction to fentanyl pills. The postpartum period, a tough time for many women, can be particularly challenging for women with opioid use disorder, putting them at high risk of relapse and overdose.

In Massachusetts, according to the state’s analysis of overdose deaths, nearly four in 10 deaths among women who gave birth between 2011 and 2015 were caused by opioid overdoses, compared with two in 10 among women who did not give birth.