Hello,
Herpes is a virus and it spreads by contact. Herpes type 1 is usually transmitted trough close contact (e.g. kissing, towel sharing, etc.). After initial infection, the virus moves to sensory nerves (sacral ganglia), where it becomes latent and reside life-long, though the viral shedding may still occur.
Try to avoid kissing when you are having any active sores. There is no medicine for preventing the viral shedding.
It is very difficult to precisely confirm a diagnosis without examination and investigations and the answer is based on the medical information provided. For exact diagnosis, you are requested to consult your dermatologist. I sincerely hope that helps. Take care and please do keep me posted on how you are doing.