Treating insomnia can help your chronic pain subside, but first it’s important to rule out other issues that could be causing sleep struggles, reports the Cleveland Clinic.

 “We know that certain pain medications can improve sleep, and we prescribe these for those who have both a sleep disorder and a specific pain disorder,” says Dr. Bolash. “However, we must use caution with opioid pain medications, which can disrupt sleep and prevent patients from entering deep sleep after as little as one dose,” Dr. Bolash says. Opioids can also cause sleep-related breathing disturbances.

clevelandclinic.org