When stress continues for weeks or months, it begins to impact both physical health and brain function.