If you are having severe chest pain, sweating or feel nauseous you might want to think about heading to the er but otherwise I would make an appointment with your doctor and get checked out.
And also some asthma inhalers can cause your heart to do strange things. I have had it happen to me. Best check with your doctor.
I would get checked out, If i were you, It sounds like like a irregular heart beat or a Heart Arrhythmia, I get those too and have been diagnosed with Heart
Arrhythmia, If you get them all the time, Be ware, It can be fatal. If your having them all the time, Go right to the emergency room.