I know the feeling. It's crippling to my ego that I lack the willpower to stop.
One thing that helps me is to realize I'm sick. It isn't as if I have a choice in whether I act out sexually or not. I'm driven to it. I'm responsible in that I got myself into this position in the first place, and yes I'm the one that does these things, but how much can I really beat myself up for each act? It does no good to beat yourself up for slips and failing to stay sober. Beating yourself up only creates stress and anxiety which makes it more likely you will act out to relieve the stress. Try to avoid it, but don't pummel yourself afterwards if you do.