I relapsed yesterday, but I have also been able to

I relapsed yesterday, but I have also been able to delay gratification and limit myself and only smoke weed when I have been both active and productive. I feel much more in control and I'm just wondering if anyone has experienced this and if they could tell me about their journey or have any advice?