The problem with trying to answer this question is that there just isn't enough information.
The first thing I would want to know is what the pulse rate actually WAS. Sometimes people feel as though their heart is pounding, but the rate is actually within the normal range. Sometimes it's slightly elevated -- that can come with pain, or with fear, or with elevated CO2 levels. Rates up to about 130 are usually normal heart rhythms, just faster because of adrenaline related to something else. Rates above 150 are usually abnormal rhythms (these rules aren't cut and dried, but rules of thumb).
An abnormal heart rhythm would be reason to stop diving until it is investigated.
Prudent medical advice would be to avoid diving until you have seen your primary care physician and had at the very least an electrocardiogram. Depending on your age and associated medical conditions, more tests might be indicated.
This is obviously generic advice for the question of rapid heart rate, and is in no way intended to be a specific medical prescription.