Thank you for your query on Healthcare Magic.
Irregular heart beats with light headed is due to abnormalities of heart rhythm know as cardiac arrhythmia
You need check up with a cardiologist.
They will perform tests like ECG, 2D Echo, and Holter monitoring to detect the abnormality of your heart rhythm.
Consult the doctor for physical examination and for investigations.
Hope I have answered your query.