According to WebMD, one should avoid or limit caffeine if one has OCD to help yourself. Some other things you can do are: Taking slow, deep breaths.
Soaking in a warm bath.
Listening to soothing music.
Taking a walk or doing some other exercise.
Taking a yoga class.
Having a massage or back rub.
Drinking a warm, nonalcoholic, noncaffeinated beverage.
Obsessive-Compulsive Disorder (OCD)-Home Treatment
And here's an important article on caffeine allergy.
DoctorYourself.com - Caffeine Allergy
I hope it helps.
Shalom!