How do i stop this gambling ?

I have been trading since 3 years ,I have a strategy it works very well but i dont follow it . I recover my losses one day i lose it on other day how do i overcome this

I have been trading since 3 years ,I have a strategy it works very well but i dont follow it . I recover my losses one day i lose it on other day how do i overcome this