Testicle pain

Patient: I have a cyst on my testicle witch causes pain..also said to have an enlarged vein..would that be a cause to having trouble with erections…if so how can I combat the problem…. I’m a young man which prior had no problems?

Doctor: