Have the patient sign an opioid contract and give informed consent: An opioid contract includes safety precautions for prescribing opioids, the patient's responsibilities to ensure safe use, and measures to prevent aberrant use (ie, opioid tapering).