the horn is wired to function independent of the ignition key ... it operates via a relay ... if it does not work, check connections to the battery, horn fuse, or relay
if in addition to the horn, your ignition also does not work ... the culprit is most likely connections to the battery or the battery itself
the ECU and the starter are not suspects with the symptoms described