How do you stay clean

Cause I’ve Been clean for the past while now but when I get that tick (idk what to call it I feel bad for calling that it but that’s what it’s like for me, an itch that I need to scratch and sometimes the itch is gone for a few months and then out of nowhere it comes back and I have to itch it I’m sorry) that urge (I’ll say I’m so sorry) idk how to control it