Some people manage to quit from one day to the other, some people quit gradually then suddenly.
What’s important is to keep the will to quit and act upon it.
Going out, exercise, envision your future self and embrace it.
Many have done it (including me) and I’m sure you can do it too.