There can be two reasons of this habit in your cat. It can be just a bad habit or it is suffering from a disease. You need to give bath to your cat with some anti-viral or anti-bacterial shampoo so that your cat can get rid of this disease.
In case of a disease an antibiotic medicine will be helpful for your cat and your cat will be perfectly OK.