My boyfriend has a hernia in his testicles can this

Patient: My boyfriend has a hernia in his testicles can this affect our chances of having a baby

Doctor: