what would you do?

what would you do if you guys got herpes from your new partner you are having sex with? would you confront them? how do you tell them about this situation that you think they gave you herpes ???