The heart arrythmias may be caused by stress, thyroid
abnormality, structural abnormality, electrolyte imbalance, drug abuse, smoking, diabetes, after heart attack, etc.
You should definitely stop the cardiac stimulants like cocaine, theophylline, nicotine etc which may trigger the heart arythmia.
The EKG as you said should be seen by cardiologist to know the type of heart arrythmia.The anti-arrythmic cardiac drugs are available like digoxin, amiodarone, verampamil etc.
The choice of drug is according to underlying condition and is to be decided by cardologist.
You should also periodically check your bp and maintain normal serum electrolyte levels.
here is the link for more information
causes and treatment of heart arrhythmias
Let me know if you have any doubt.