Old romance, new problems

Okay so a guy I was with a while ago for about 2 years recently messaged me and was telling me he still has feelings for me and he's really sorry for everything that happened with us and he wished he didn't do what he did because he ended up hooking up with this girl immediately after we broke up and he now has HSV-2 (we’ve been over for about 2 years now) and I feel like he's trying to say he wants to talk again but he doesn't know how to say it because of this situation. I'm not sure how to tell him but idk that I can even try again because l'm still hurt for one, I have moved on BUT thinking about it all still hurts; as well as idk how to make a relationship like this work I mean can you even have a relationship when there's this type of situation involved? I don't wanna sound like I’m just ruled by sex or anything but sex is a big part of a relationship for me so how would that work? And even if we don't get back together how do I talk to him without making him feel like I'm judging him or anything.