Yes. You should definitely tell your partner that you have herpes before having sex. You should make sure that they know that they are at risk of contracting the infection while having sex. This helps your partner make an informed choice.