Make sure the ignition is on as the indicators will not work unless the ignition is on but the hazard lights will work without a key at all.
It probly isn't the problem, you'll just have to narrow the problem down and eliminate items until you find the culprit.