Were you eating and drinking enough on your ride yesterday?

Can you control your heart rate during a climb to keep yourself from spiking? I can set my HRM to beep if my HR gets too high or too low on a ride. When it's too high, I control it by either down shifting if I can or slowing my cadence slightly and breathing evenly.

V.