Herpes is making me miss my ex

Was in an up and down relationship for 5 years. Good guy, but wrong match overall. We broke up and I felt sorry overall pretty ok after years of dreading us breaking up. I felt calm, and happy and normal. Well the first guy I slept with after our breakup gave me Hsv generally. Now? I think about my ex and my relationship and feel like I’m longing for the security of a relationship like ours again. I also feel he would never have accepted me with this and it makes me insecure. We are on friendly terms (in different countries now) but I have started thinking about him since this… thinking if I hadn’t left our relationship I would have never gotten herpes.