Withdrawal is emotional as well as physical.
https://www.lahacienda.com/programs/medical-and-detoxification
Fear, guilt and grief often surface during withdrawal. Medical detox includes attention to anxiety and depression. If thoughts of suicide arise, call or text 988. Share your concerns with a professional.