Someone in my year at school got heart palpitations from overdosing on energy drinks, but she was drinking like five cans a day every day, long-term. I doubt three cans will really affect you much, if it's worrying you then just don't drink any more. And if the chest pains continue, see a doctor!