Doctors prescribe these addictive meds to patients who are not in pain. Here's how to know when the drugs are needed.