Here I give you a step by step process on permanently getting freed from a recurring, habitual sin.

First, seek Christ.
Second, get an accountability partner whom you call and pray together over the phone the moment you are tempted.
Third, get yourself a prayer spot that you go to every time you are tempted. Pray about it.

The cause of falling into the same sin is a bad relationship with Christ, or being emotionally drained. The above steps will help you come right back into a good relationship with Christ without having to fall into sin!