Journal, may be even on here. Get in your head, and identify the lie that is telling you that acting out will be a good idea. Get it out. Get feedback on it. Play the movie to the very end.
I.e. A thought " This won't hurt anyone, it will just take a minute, and I will relax a little, and will get back to work"... Then tell yourself. This is a lie. The truth is , that it will not take just a minute, it never took a minute, it will take over my life like it did before. This is not a way to relax, and this is not God's will for me. I know from my experience that after I am done, I will feel like a failure. If I can walk away today, I will feel so proud of myself. My family, friends in recovery will be so proud of myself. God will be proud of me.
Than get up, and get the heck out of there, and don't come back until you are no longer alone.
Also watch out for little tricks like , "well I am not going to act out, but I will check the news" If you let yourself browse the internet mindlessly, even starting with the most innocent stuff, you will act out!