STD Question

So this might be dumb, but if I didn’t have vaginal or anal sex and only performed oral on someone who had an STD like chlamydia or gonorrhea, could it still affect my fertility if I ended up with it? Or does that not matter since it’s through oral sex?