welcome to healthcare magic forum..
It looks like you might be having rhythm disorder of your heart..This might happen due to stress
or due some underlying abnormality. You need to consult a cardiologist
and discuss about further management of your condition. You might need to start on antiarrthymic drugs if this continues.
Please stop smoking
as smoking is not good for you!!
Hope this helps.