Extremes while consuming

I have difficulty regulating my consummation. I seem to go to extremes without ever finding a balance. I either smoke multiple times a day or stop completely for months. I would like to limit my consummation to a couple of times a week and maintain it. Does anyone have tricks to improve managing my tendencies to go to both extremes?