I find that the best way is to use a product like Goo Gone to dissolve the glue, but if you don't have that on hand, you can try using a paper towel and some oil or rubbing alcohol. I have found that the glue on generic cans tends to be more difficult to get off than on name brands.