Hi There, that is very good question. Because it is the first time you pay attention to your situation, several possibilities should be assessed. First you should have electrocardiography
to assess if you have arrhythmia
. Some irregular heart beating situations are hereditary and smoking and not enough diet can aggravate the situation as well. If any functional heart problem is ruled out, you should think about anxiety
, but you should also be checked for thyroid
function and serum electrolytes (it could be related to calcium or other electrolytes changes) because they can also bring heart problem and also mood change. I wish you can find the solution soon.