Now, new treatments that directly stimulate or block certain pain-sensing attention or modulation networks are being developed, along with ways to tailor them to individual patients, using tools like magnetic resonance imaging to map brain pathways.