Talking about your sexual history with a new partner is best done early and honestly.
...Let’s take the second part first: negotiating acceptable risk. Like everything else in a relationship, you have to talk to your partner/s about STIs, preferably before you ever have a problem with them...