Switch to decaf if you can, it's certainly less destructive. Caffine in any form, ie soda, chocolate, etc, is touted as being bad for us.
For those of us who are permanently addicted and choose not to forego it completely, there are ways to modify our exposure. The caffine in coffee is what helps keep my colostomy working, but I've found if I mix a can of regular with a can of decaf I get good results and it tasts just fine, too. I haven't given up chocolate, either, but have switched to the sugar free varities because of my Type 2. Try the caffine free diet sodas, too - better to drink water and/or lemonade but sometimes they just don't satisfy.
A strong jolt of caffine (espresso) can also kick a migraine - opens the blood vessels. Not recommended on a regular basis, but it works.