Generally speaking, there may be a multitude of reasons for your symptoms
. This could range from cardiac etiology e to anxiety
/depression. The major questions to consider would be, duration, associated symptoms (shortness of breath, passing out, chest pain, none). You may have a fast heart rate, extra heart beats, or something else. From a cardiac standpoint, you may benefit from a holter monitor.