Ketamine can have remarkable helpful effects in patients with incredibly poorly managed pain, especially while in the presence of preexisting patient conditions including chronic pain, opioid tolerance, opioid-induced hyperalgesia, and opioid use disorder.Maintenance: The maintenance dose ought to be modified based on the patient's anesthetic needs