When I first started, I'd commit to myself to stay sober for 48 hours. After that I would say, I can last 48 hours, I can do it again. Then I'd commit to longer periods of time. That is how I was able to stay clean for 144 days (and counting).
There were many stressful moments along the way. Some of the stress was due to a perceived need to act out, sometimes it was the general stress of life (bills to pay, kid getting kicked out of school, a major appliance breaks etc.) that demanded a release. At times I was in a really bad mood, because nothing seemed to work out right. At those low points, I would pour out my heart in Tefilah. I would feel crushed and hopeless, with nowhere to turn, and no solution in sight. I would say something like, Hashem, you are the all powerful. No situation is too tough, and nothing too difficult for you to do. I don't know what to do about...(fill in the blank as needed), and I don't know where to begin seeking a solution. I am throwing myself on your limitless mercy, and asking you to get me out of this, and take care of....(fill in the blank). There is no one else I can ask, and nothing I can do on my own.
Something else that I found effective in uplifting a tefilah. At a real low point, after asking for my own needs, I would try to ask for someone else's needs. If I know someone who has a similar difficulty in his life, I would daven for them also. After feeling my own anguish for my own situation, I know what the other fellow is going through. I would daven for him too at that moment. Also, do daven for the Shechinah. After expressing my own pain and sorrow, I would say to myself, Hashem's Shechinah is in Galus. If this is the pain that I felt, imagine the sorrow that the Shechiinah feels (Kevayachol). I would ask Hashem to end this Golus for the sake of His own Shechinah.
By doing this, I would channel the sorrow, pain, anguish that I felt, and use it to for a higher end. To daven for someone else, or to end the Galus. It is a very high level indeed, for someone to daven only for the sake of the Shechinah, and I know that I am very far from it. The words that I would say, however, are all true, and I would try to feel it at least a tiny bit.
I can not say how many times my situation improved after a heartfelt davening like this. Hashem sent his help in the most unexpected ways. Really. At the very least, sincere Tefilah brings us closer to Hashem, and that alone can make one feel much better.
I hope that this works for you!
Yerushalmi