Yes you can use honey to get rid of a cold sore as honey does have antiviral properties which can help kill the virus that causes cold sores.
Cold sores are caused by the Herpes Simplex Virus and the honey will be able to kill the virus causing the cold sore so the cold sore will go away within a few days or so of applying honey daily to the cold sore.
However some people report that it takes 9 days to heal their cold sores with honey but I've had it work on my cold sores within 6 days of using the honey.
You can also use toothpaste on the cold sore or even apple cider vinegar to kill the virus causing the cold sore.
Applying some ice or even a cool compress to the cold sore can also help with it as well.