Gential herpes

MM

Soo….I was recently diagnosed with genital herpes.4 weeks ago. Was prescribed a medication and all my lesions have healed. Had sex 3 days ago and it was sooo painful.I was in tears. Is there a reason? Maybe since the tissue in my vagina is new and healing it may not be healed all the way?