i used to have terrible, TERRIBLE, heartbeat problems when i was high, i quit smokin for weeks because every time i sparked one i would have a pounding chest which would send me into a mild panic attack. I found the best thing you can do is just seperate yourself from the situation for a moment take a few deep breathes and realize that you are in no true danger.