Any contact with anything else living is risky, but it’s part of day to day life. I think you should approach this by explaining the concept of risk and infection. Just as we wash our hands at certain times to avoid getting sick, step back from people sneezing and coughing, and just as we make choices not to swim in the sewer, so we make similar choices about kissing, holding hands, and sexual contact.
Your child has choices you need to explain to them. They could avoid human contact altogether, permit it to some degree, or all out ignore the risks. Most people strike a balance.
You shouldn’t educate that it’s going to be awkward to talk to partners about STDs. You won’t limit them in their sexual experience by explaining the risks. Their own sexual drive is going to be stronger than your words. You should IMO teach them that they can ask someone about STDs and, regardless of the reply, make their choice on what to do next.
No matter what a partner says, they could lie, or be ignorant of reality anyway. You have to explain that, and let the child decide what they’ll do.
You have a chance to express your family values, open communication, respect, courage, risk taking, and discuss the mutual values a child might expect from a future partner and why that might be important.
Your question seems like you have a conflict between protection, risk, and limitation. That’s exactly the conflict you need the child to understand and make their own decision on, so explore it with them. They will need to protect their body from infection, take some risks if they want to have sex, and self-control their own actions and emotions to stay safe. If they’re not able to understand that decision, they should decide what to do (and that should probably be not to have sex yet).