I think now when I am about to do dumb thing I actually know that it is not right to do that, but I did that any way and say to myself this is the last time but I keep on repeating it. How do you train your brain to do the right thing?
Sounds like your "method" needs work.
It should be... (1) You know exactly what you should do and why, and (2) do that and only that.
