first thing I'd check would be the connections down at the horn. spray plenty of wd40, give it a good clean, make sure connectors are on properly, wires intact etc.
also give the horn switch on the handlebar a good cleaning with wd40 and make sure no soil and dirt is in there