I am sorry to say that you cannot stop that bad thing you are doing. You do not have the power to stop that, even the apostle paul is a testimony to that. In his former way of life, he was unable to stop the bad things that he does not want to do, but which he continually does.
Romans 7:19;
"For the good that I would I do not: but the evil which I would not, that I do"
20:"Now if I do that I would not, it is no more I that do it, but sin that dwelleth in me."
So you cannot stop that unless you drive away that spirit of sin inside of you. This was the experience of the Apostle Paul who later turned to be one of the apostles there is. Because of the sin that dwelt in him in his former way of life.
That’s why when Paul met Jesus Christ in Damascus, the first suggestion of the Lord was for him to be baptized and wash away his sins.
Acts 22:16;
"And now why tarriest thou? arise, and be baptized, and wash away thy sins, calling on the name of the Lord."
Because he experienced that part of his life when even if he does not want to do what is evil, he is doing evil. So eventually Paul was baptized and he was forgiven of all his sins. Later apostle Paul realized he cannot renew himself by himself alone and he told the experience to Titus in Titus 3:5;
"Not by works of righteousness which we have done, but according to his mercy he saved us, by the washing of regeneration, and renewing of the Holy Ghost"
We have to be renewed by the power of the Holy Ghost, we have to be washed of our sins, we have to be regenerated by God. All these are the works of the Holy Spirit.
Thank you very much for your continuous support 🙏