Your question made me wonder if you've been diagnosed by a doctor as having irregular heartbeats (arrhythmia), or whether you say your heartbeats are irregular because you're experiencing heart palpitations (what you can feel when it suddenly feels as if your heart is dramatically fluttering in your chest).
Either way, you do need to get checked out by a doctor. If you're having heart palpitations, though, that doesn't necessarily mean you have a heart condition causing the palpitations. Anemia and any number of other non-heart-related conditions can cause palpitations. Even anxiety can cause it. My point here is that getting that unsettling feeling that your heart is fluttering or otherwise not being its usual self doesn't necessarily mean the cause is "a bad heart". A lot of people experience heart palpitations once in awhile. They're not something you should be having regularly, though.
Having said that,... It's really really important that you get checked out by a doctor (if you're experiencing heart palpitations often enough to make you wonder if you have a heart condition), because a) whatever is causing the problem does need to be addressed, but 2) if you actually have a heart condition it could, of course, be life-threatening.
Do a few searches on both of these: "Arrhythmia" and "heart palpitations". Here's on quick link: http://www.nlm.nih.gov/medlineplus/arrhythmia.html