How can chronic pain be effectively managed using medication or other treatments?

How can chronic pain be effectively managed using medication or other treatments?