Women should avoid Caffeine a week before Mammogram to avoid Pain. Germany’s professional association for gynaecologists has recommended that women should avoid coffee and other caffeinated drinks for a full week prior to a mammogram examination to avoid pain during a mammogram.