When you get saved later in life like I did (I was 36), your spirit gets recreated, you’re all in on this salvation deal, but your flesh is still out there in the world, and it don’t know yet the program has changed.
It’s like when you go on a diet. You stop eating all the ice cream, and donuts and cake and whatever, but the donuts still call you like somebody that don't know when it's over.
Your flesh sometimes still wants to sin, but you have to tell it no. The only way to rid yourself of those desires is to starve your flesh out by not giving it the sins it wants. You just have to deny it.
Then said Jesus unto his disciples, If any man will come after me, let him deny himself, and take up his cross, and follow me. – Matthew 16:24