Here's the secret to not sinning. Don't do it! If you are like everybody else then usually you have the capacity to act a certain way around certain people. For example some people may swear at work but not around their children. Or you have self control to not yell at a boss but you blast a loved one for something completely insignificant. When it comes to sin you have a choice, do it or don't do it. God says He will not let us be tempted beyond what we can bare and He will provide a way out. So, every time we sin its because we love sin more than God. Either we are slaves to our sinful nature or we are slaves to righteousness. It's love for this world and all it offers that entices us and prevents a life with God. Don't be deceived to thinking you are just going sin because that's just who you are. Maybe that's who you were but when you are called to be a child of God He expects you to cast off the old self and put on His righteousness. Choose your Master, God or self. Choose life or death. Sin no more.