Do not let sin control the way you live; do not give in to sinful desires.
How can we not give into sinful desires?
One way is to keep God on your mind and in your heart. It's hard to do sinful things when you imagine God sitting right beside of you (and he CAN see everything you do so.....)
Another way is to know your personal weaknesses. Do you love to gamble? Stay away from it. Like to watch certain 'bad' things on tv or the internet? Put a block on it. Don't beat yourself up or live in denial. You can't get better if you don't acknowledge you have a problem.
Further more, lean on God's strength and grace. God can take care of us when we can't. If you are having a problem with something, don't just pray once. Pray continually about it. And even pray during the times you are having problems with it.
It's not easy but with God it is possible.
God Bless You,