If you're sure that the panic button is what's turning the horn off, the problem is either in your hand held device or the receiving unit. If you aren't sure the panic button turns it off it could be that the horn is shorting to a connection somewhere in the wiring. Intermittent electrical problems are hard to find. You need to take it to someone that can trouble shoot it.
If the law in the state where you live doesn't require a horn, you can disconnect the wire at the horn and tape it up. If it does, another option might be to remove the existing wire on the horn, install a new horn button on the steering column and rewire it from the fuse box to the horn.