How does this work???

I feel like I might just be really ignorant but I just want to be sure; if you’re trying to conceive but your partner has an STD, is it possible to have the basic sexual reproduction?