2005 big dog mastiff

ok so I turn my key on horn blows and hazards come on but nothing else, charged the battery went about 2 miles it just flat died and horn came on. I unplugged the and hooked it back up and it started fine but almost did it to me again this morning any ideas or anyone have this problem I’d appreciate your thoughts on it Thanks