Those flare-ups are usually life-long and can be demoralizing. One idea that may help you to reduce the outbreaks and severity:
Eat foods with a high lysine/arginine ratio. Foods high in the amino acid arginine can promote herpes virus replication, while foods high in the amino acid lysine can inhibit it.
Some good food choices:
milk, cheese, eggs, fish, lentils, beans, sweet potatoes....