I've found it's easier if you replace the bad thing with a better thing. Do you have a favorite candy or treat? Make a point to reward yourself occasionally with something you can look forward to. For example, promise yourself a dozen donuts if you don't drink this week. You don't have to use food. Promise yourself a new book, dress, movie, something to get excited about.
Good for you for getting sober! Keep up the good work!