Relapse is part of the disease,
https://www.lahacienda.com/programs/adult-chemical-dependency-recovery-program
A relapse does not erase the progress you made, and chemical dependency treatment can build on what you already learned. Support after discharge matters as much as the stay itself. Talk with a licensed treatment provider.