Understanding Opiate Withdrawal: Effects, Symptoms, And Treatment Opioids or opiates are drugs used to treat pain.